Re: [PATCH 1/2] Better union support in the parser

2021-07-23 Thread Philip Herron
On 23/07/2021 00:19, Mark Wielaard wrote: > 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.

[PATCH 1/2] Better union support in the parser

2021-07-22 Thread Mark Wielaard
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 identif