Add single quoted strings and regexes to javascript grammar
This commit is contained in:
parent
6d40dcf881
commit
a2c125998e
4 changed files with 10956 additions and 10884 deletions
|
|
@ -51,6 +51,8 @@ namespace tree_sitter {
|
|||
return "\\0";
|
||||
case '"':
|
||||
return "\\\"";
|
||||
case '\'':
|
||||
return "\\'";
|
||||
case '\n':
|
||||
return "\\n";
|
||||
case '\r':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue