mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
@@ -1564,10 +1564,6 @@ check_field_flag_prefixes :: proc(p: ^Parser, name_count: int, allowed_flags, se
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if .Using in allowed_flags && .Using in flags {
|
|
||||||
flags &~= {.Using};
|
|
||||||
}
|
|
||||||
|
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ scan_raw_string :: proc(t: ^Tokenizer) -> string {
|
|||||||
|
|
||||||
for {
|
for {
|
||||||
ch := t.ch;
|
ch := t.ch;
|
||||||
if ch == '\n' || ch < 0 {
|
if ch == utf8.RUNE_EOF {
|
||||||
error(t, offset, "raw string literal was not terminated");
|
error(t, offset, "raw string literal was not terminated");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user