Allow negative values for realtime net constants.
The lexor didn't allow for negative values for realtime net constants. The minus sign was not accepted as a character in the identifier string.
This commit is contained in:
parent
8ea3b6b0b8
commit
bafd705478
|
|
@ -195,6 +195,11 @@
|
||||||
assert(yylval.text);
|
assert(yylval.text);
|
||||||
return T_SYMBOL; }
|
return T_SYMBOL; }
|
||||||
|
|
||||||
|
"Cr<"[.$_a-zA-Z0-9/,\-]*">" {
|
||||||
|
yylval.text = strdup(yytext);
|
||||||
|
assert(yylval.text);
|
||||||
|
return T_SYMBOL; }
|
||||||
|
|
||||||
|
|
||||||
/* Accept the common assembler style comments, treat them as white
|
/* Accept the common assembler style comments, treat them as white
|
||||||
space. Of course, also skip white space. The semi-colon is
|
space. Of course, also skip white space. The semi-colon is
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue