Skip to content
Snippets Groups Projects
Commit c0b98714 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

enable dy for use with oy and ody

parent b1a7db47
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,8 @@ void CRef::set_coord( CCoord& ret, uint k_in ) const
ret = fd->xco;
else if ( typ == _Y )
ret = fd->yco;
else if ( typ == _DY )
ret = CCoord( "d"+fd->yco.name, fd->yco.unit );
else if ( typ == _NI )
ret = CCoord("#points", "");
else
......
......@@ -47,7 +47,7 @@ EXP [eE]"-"?[0-9]+
xaxlval->v = atof(xaxtext);
return NUM; }
[xykji]|n[ij]|([zpr]|cq){DIG}+ {
[xykji]|dy|n[ij]|([zpr]|cq){DIG}+ {
// printf( "lex: The variable %s\n", xaxtext );
xaxlval->p = (void*) new CRef(string(xaxtext));
return REF; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment