Skip to content

Commit 8986299

Browse files
committed
parse negative integers in YAML
1 parent 4686890 commit 8986299

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/antlr4/oracle/weblogic/deploy/yaml

1 file changed

+1
-1
lines changed

core/src/main/antlr4/oracle/weblogic/deploy/yaml/Yaml.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ fragment FALSE_TEXT
260260
;
261261

262262
fragment INT_TEXT
263-
: [1-9] [0-9]*
263+
: '-'? [1-9] [0-9]*
264264
;
265265

266266
fragment FLOAT_TEXT

0 commit comments

Comments
 (0)