Commit 5c1230f6 authored by David Schleef's avatar David Schleef
Browse files

Fix parsing of negative numbers. Note that parsing of floating point numbers...

Fix parsing of negative numbers.  Note that parsing of floating point numbers is broken in exponential form (1.0e6 or...

Original commit message from CVS:
Fix parsing of negative numbers.  Note that parsing of floating point
numbers is broken in exponential form (1.0e6 or 1.0E6).
parent ac94f1f8
......@@ -17,8 +17,8 @@
#define YY_NO_UNPUT
%}
_integer [[:digit:]]+
_double [[:digit:]]+"."*[[:digit:]]*
_integer [-+]?[[:digit:]]+
_double [-+]?[[:digit:]]+"."*[[:digit:]]*
_number {_integer}|{_double}
_boolean "true"|"false"|"TRUE"|"FALSE"
_identifier [[:alpha:]][[:alnum:]\-_%:]*
......
Markdown is supported
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