Skip to content

Commit 62b57cb

Browse files
author
Pierre Carrier
committed
make 4. parse as FloatValue
1 parent 7997d17 commit 62b57cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/antlr/Graphql.g4‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ NAME: [_A-Za-z][_0-9A-Za-z]* ;
118118

119119
IntValue : Sign? IntegerPart;
120120

121-
FloatValue : Sign? IntegerPart ('.' Digit+)? ExponentPart?;
121+
FloatValue : Sign? IntegerPart ('.' Digit*)? ExponentPart?;
122122

123123
Sign : '-';
124124

0 commit comments

Comments
 (0)