Allow future keywords to be accessed as members in a struct.
This fixes a bug where a token that could be a keyword in one version is not a keyword in another version, but treated like a non-member after a "." dereference.
This commit is contained in:
parent
6373574b13
commit
eb505e4262
7 changed files with 41 additions and 12 deletions
|
|
@ -183,3 +183,5 @@ void qlod()
|
|||
lod = textureQueryLod(sampBuf, pf); // ERROR
|
||||
lod = textureQueryLod(sampRect, pf2); // ERROR
|
||||
}
|
||||
|
||||
struct SKeyMem { int precise; } KeyMem; // ERROR, keyword can't be a member
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue