aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-07-23 13:55:51 +0000
committerGitHub <noreply@github.com>2021-07-23 13:55:51 +0000
commitafd9db6f6b28d273434b0c61ec0b1aa0dcc4c89f (patch)
tree1a12af0f69b1b8f12166afa7a0f83d2136fe8a23 /gcc/rust/rust-backend.h
parent44472c580cedd836081c82e621482e479a69729c (diff)
parent17fcb1a3bad0c281e9d8c789455025dd9232081b (diff)
downloadgcc-afd9db6f6b28d273434b0c61ec0b1aa0dcc4c89f.zip
gcc-afd9db6f6b28d273434b0c61ec0b1aa0dcc4c89f.tar.gz
gcc-afd9db6f6b28d273434b0c61ec0b1aa0dcc4c89f.tar.bz2
Merge #590
590: Better union support in the parser r=philberty a=philberty union is a weak keyword which means it isn't reserved and can be used as a generic identifier. When we see an identifier where a union could be declared we check whether the identifier is "union", but only when the next token is also an identifier. In parse_union we shouldn't skip the first identifier token, because it is already skipped when we call expect_token. Co-authored-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'gcc/rust/rust-backend.h')
0 files changed, 0 insertions, 0 deletions