mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-11 02:19:30 +00:00
Merge branch 'master' into bill/bedrock
This commit is contained in:
@@ -1792,6 +1792,13 @@ is_token_field_prefix :: proc(p: ^Parser) -> ast.Field_Flag {
|
||||
advance_token(p)
|
||||
return .Using
|
||||
case .Hash:
|
||||
if tok := peek_token(p); tok.kind == .Ident {
|
||||
switch tok.text {
|
||||
case "simd", "type", "row_major", "column_major", "sparse", "soa":
|
||||
return .Invalid
|
||||
}
|
||||
}
|
||||
|
||||
tok: tokenizer.Token
|
||||
advance_token(p)
|
||||
tok = p.curr_tok
|
||||
|
||||
Reference in New Issue
Block a user