Added input support for floats (no scientific notation yet).

parent 48de982c
...@@ -340,7 +340,7 @@ class Parser(BisonParser): ...@@ -340,7 +340,7 @@ class Parser(BisonParser):
%% %%
[0-9]+ { returntoken(NUMBER); } [0-9]+"."?[0-9]* { returntoken(NUMBER); }
[a-zA-Z] { returntoken(IDENTIFIER); } [a-zA-Z] { returntoken(IDENTIFIER); }
"(" { returntoken(LPAREN); } "(" { returntoken(LPAREN); }
")" { returntoken(RPAREN); } ")" { returntoken(RPAREN); }
......
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