Added support for double-quoted string to Matlab tokenizer.
This commit is contained in:
@@ -139,6 +139,7 @@ SPECIAL_TOKEN:
|
||||
<DEFAULT> TOKEN :
|
||||
{
|
||||
< STRING: "'" ( <ESC_SEQ> | "'" "'" | ~["\\","'","\n"] )* "'" >
|
||||
| < DSTRING: "\"" ( "\\" | "\"" "\"" | ~["\\","\"","\n"] )* "\"" >
|
||||
| < #ESC_SEQ:
|
||||
"\\" ( "b" | "t" | "n" | "f" | "r" | "\"" | "'" | "\\" )
|
||||
| <UNICODE_ESC>
|
||||
|
Reference in New Issue
Block a user