Merge branch 'pr-1822'

This commit is contained in:
Andreas Dangel
2019-05-12 16:19:29 +02:00
3 changed files with 22 additions and 4 deletions

View File

@@ -140,6 +140,7 @@ PARSER_END(MatlabParser)
<DEFAULT> TOKEN :
{
< STRING: "'" ( <ESC_SEQ> | "'" "'" | ~["\\","'","\n"] )* "'" >
| < DSTRING: "\"" ( "\\" | "\"" "\"" | ~["\\","\"","\n"] )* "\"" >
| < #ESC_SEQ:
"\\" ( "b" | "t" | "n" | "f" | "r" | "\"" | "'" | "\\" )
| <UNICODE_ESC>