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:
Stephen Williams 2008-01-06 18:57:16 -08:00
parent 8ea3b6b0b8
commit bafd705478
1 changed files with 5 additions and 0 deletions

View File

@ -195,6 +195,11 @@
assert(yylval.text);
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
space. Of course, also skip white space. The semi-colon is