Skip to content

Commit ec51fdb

Browse files
author
linzhijun
committed
fix
1 parent ddc2c3a commit ec51fdb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

g4/math.g4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,9 @@ OPOR: '||';
354354

355355
NUM: [0-9]+ ('.' [0-9]+)? ('E' [+-]? [0-9]+)?;
356356
STRING:
357-
'\'' (~'\'' | '\\\'')* '\''
358-
| '"' ( ~'"' | '\\"')* '"'
359-
| '`' ( ~'`' | '\\`')* '`';
357+
'\'' (~['\\] | '\\' .)* '\''
358+
| '"' (~["\\] | '\\' .)* '"'
359+
| '`' (~[`\\] | '\\' .)* '`';
360360
361361
362362
UNIT:

0 commit comments

Comments
 (0)