llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[X86AsmParser] IntelExpression: End of Statement should check for valid end state

Open v01dXYZ opened this issue 8 months ago • 6 comments

The following commit bfb7099eeb9b6f62510b1db0cb93a8c3cfa68236 added a special case for End of Statement that doesn't check if the state machine is rightfully in a state where ending is valid.

This PR suggest to revert this change to make EndOfStatement processed as any other tokens that are not consumable by the state machine.

Fixes https://github.com/llvm/llvm-project/issues/94446

v01dXYZ avatar Jun 15 '24 18:06 v01dXYZ