Give error if raw literal hits EOF, and stop removing .Using if it exists in flags and allowed_flags.

This commit is contained in:
DanielGavin
2021-03-30 12:38:58 +02:00
parent 439e2c9242
commit b8658547e0
2 changed files with 2 additions and 6 deletions
-4
View File
@@ -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;
}