parse: jfdshks
This commit is contained in:
parent
1e5ed47497
commit
bdfaa4f1ab
1 changed files with 2 additions and 2 deletions
|
@ -320,8 +320,6 @@ fn scanescape2(lex: *lexer) (rune | error) = {
|
|||
return ("escape sequence", lex.loc.0, lex.loc.1): unterminated;
|
||||
};
|
||||
|
||||
count += 1;
|
||||
|
||||
if (count > 6) {
|
||||
return lex.loc: invalid;
|
||||
} else if (rn == ';') {
|
||||
|
@ -329,6 +327,8 @@ fn scanescape2(lex: *lexer) (rune | error) = {
|
|||
} else {
|
||||
memio::appendrune(&buf, rn)!;
|
||||
};
|
||||
|
||||
count += 1;
|
||||
};
|
||||
|
||||
const buf = memio::string(&buf)!;
|
||||
|
|
Loading…
Reference in a new issue