Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Floats need to have at least one digit prior to the radix.
  • Loading branch information
treed committed Aug 17, 2009
1 parent c34b8a6 commit 7f1a943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/grammar.pg
Expand Up @@ -423,7 +423,7 @@ token literal {
}

token float {
'-'? \d* '.' \d+
'-'? \d+ '.' \d+
{*}
}

Expand Down

0 comments on commit 7f1a943

Please sign in to comment.