Only perform struct field check on Identifier tokens.
Fixes PR28547.
Differential D22361
[X86][MC] Fix bracket expression parsing in intel-style assembly. Authored by niravd on Jul 14 2016, 8:32 AM.
Details Only perform struct field check on Identifier tokens. Fixes PR28547.
Diff Detail Event TimelineComment Actions We're not. We're dealing with the next token after a bracket expression may be a struct field accessor. If it didn't exist, we should get an EndOfStatement with a string of "" or "\n" and so skipping the Token Kind check was okay. But now that end of line comments are embedded in the EndOfStatement token there we can potentially have '.' characters we erroneously fail. |