Handle backslashes in brace words correctly
This commit is contained in:
parent
c61496fcc3
commit
b2c5f7ea90
1 changed files with 5 additions and 0 deletions
|
@ -208,6 +208,11 @@ class Parser {
|
|||
while (true) {
|
||||
const [type, chars, pos] = this.next;
|
||||
switch (type) {
|
||||
case "backslash":
|
||||
wip += "\\";
|
||||
this.advance();
|
||||
wip += this.next[1];
|
||||
break;
|
||||
case "{": {
|
||||
wip += "{";
|
||||
this.advance();
|
||||
|
|
Loading…
Reference in a new issue