Commit 8ea71f4d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

expr: addeed support for variables starting with digits.

parent a9dcde29
......@@ -3,6 +3,10 @@
* Using CDI library version 1.8.3
* Version 1.9.0 release
2017-05-23 Uwe Schulzweida
* expr: addeed support for variables starting with digits
2017-05-22 Uwe Schulzweida
* settbounds: added support for hourly frequencies
......
This diff is collapsed.
......@@ -76,6 +76,11 @@ M_E {
return VARIABLE;
}
{LPHDGT}*{LPH}{LPHDGT}* {
yylval->varnm = strdup(yytext);
return VARIABLE;
}
[-()=+*/;,{}^.?:] {
return *yytext;
......
# bison version 3.0.4; flex version 2.5.37
bison -W -y -r all -o expr_yacc.c -d expr_yacc.y
flex -v -oexpr_lex.c expr_lex.l
# bison version 3.0.4; flex version 2.6.1
bison -W -y -r all -o expr_yacc.cc -d expr_yacc.y
flex -v -oexpr_lex.cc expr_lex.l
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment