Skip to content

Commit 26a1972

Browse files
committed
parse positive integers with leading + in YAML
1 parent c8199fd commit 26a1972

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)