Skip to content

Commit

Permalink
Changed the lexer for Numeral to accept sequences of digits
Browse files Browse the repository at this point in the history
  • Loading branch information
garrinkimmell committed Apr 28, 2011
1 parent a630e98 commit 2fa2066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Language/SMTLIB/Lexer.x
Expand Up @@ -29,7 +29,7 @@ tokens :-
\|[$printable \n # \|]*\| { Symbol }
\:$sym+ { Keyword }
$digit+\.$digit+ { Decimal . read }
$digit { Numeral . read }
$digit+ { Numeral . read }
\( { const LeftParen }
\) { const RightParen }
\"(([$printable \n # \\]|\\.)*)\" { String . read }
Expand Down

0 comments on commit 2fa2066

Please sign in to comment.