mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
small fixes to the parser
This commit is contained in:
@@ -266,7 +266,7 @@ scan_escape :: proc(t: ^Tokenizer) -> bool {
|
||||
n: int;
|
||||
base, max: u32;
|
||||
switch t.ch {
|
||||
case 'a', 'b', 'e', 'f', 'n', 't', 'v', '\\', '\'', '\"':
|
||||
case 'a', 'b', 'e', 'f', 'n', 't', 'v', 'r', '\\', '\'', '\"':
|
||||
advance_rune(t);
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user