mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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).
This commit is contained in:
parent
ac94f1f879
commit
5c1230f6d1
1 changed files with 2 additions and 2 deletions
|
@ -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:]\-_%:]*
|
||||
|
|
Loading…
Reference in a new issue