This is an archive of the discontinued LLVM Phabricator instance.

Fix a bug in the .mlir lexer, where a \0 character in a file is treated as a colon (due to an accidental fall through) instead of whitespace.
ClosedPublic

Authored by lattner on Mar 23 2020, 3:39 PM.

Details

Summary

While here, simplify the lexer a bit by eliminating the unneeded 'operator'
classification of certain sigils, they can just be treated as 'punctuation'.

Diff Detail

Event Timeline

lattner created this revision.Mar 23 2020, 3:39 PM
Herald added a project: Restricted Project. · View Herald Transcript
rriddle accepted this revision.Mar 23 2020, 3:51 PM
This revision is now accepted and ready to land.Mar 23 2020, 3:51 PM

Thank you for the review River!

This revision was automatically updated to reflect the committed changes.