Skip to content

Commit

Permalink
STRINGs without escape sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jan 17, 2019
1 parent bdbd317 commit 10e8c99
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pydbc/dbc.g4
Original file line number Diff line number Diff line change
Expand Up @@ -375,14 +375,18 @@ WS:
(' ' | '\t' | '\r' | '\n') -> channel(HIDDEN)
;

/*
STRING:
'"' ( ESC_SEQ | ~('\\'|'"') )* '"'
;
*/

STRING:
'"' ( ~('"') )* '"'
;

SIGN:
'+'
| '-'
;



0 comments on commit 10e8c99

Please sign in to comment.