Skip to content
Snippets Groups Projects
Commit 889966e6 authored by Marius Bozga's avatar Marius Bozga
Browse files

allow mantissa/exponent real constants

parent 8d11ac66
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ LETTER [a-zA-Z]
ALPHA {DIGIT}|{LETTER}|_
INTEGER {DIGIT}+
REAL {INTEGER}"."{INTEGER}
REAL {INTEGER}"."{INTEGER}(e[-+]?{INTEGER})?
IDENTIFIER {LETTER}{ALPHA}*
LITERAL {ALPHA}+
......@@ -175,7 +175,6 @@ while { return WHILE_K; }
xor { return XOR_K; }
endobserver { return ENDOBSERVER_K; }
flush { return FLUSH_K; }
cut { return CUT_K; }
......@@ -190,12 +189,12 @@ deliver { return DELIVER_K; }
pure { return PURE_K; }
intrusive { return INTRUSIVE_K; }
priorityrules { return PRIORITY_SECTION_K;}
endpriorityrules { return END_PRIORITY_SECTION_K;}
{REAL} { return _REAL_; }
{REAL} { return _REAL_; }
{INTEGER} { return _INTEGER_; }
{IDENTIFIER} { return _IDENTIFIER_; }
{LITERAL} { return _LITERAL_; }
{XSTATE} { return _XSTATE_; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment