While here, simplify the lexer a bit by eliminating the unneeded 'operator'
classification of certain sigils, they can just be treated as 'punctuation'.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D76647
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'
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 23 2020, 3:51 PM Closed by commit rG4a219bf7ff6f: Fix a bug in the .mlir lexer, where a \0 character in a file is treated as a… (authored by lattner). · Explain WhyMar 23 2020, 5:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 252191 mlir/lib/Parser/Lexer.cpp
mlir/lib/Parser/Token.h
mlir/lib/Parser/Token.cpp
mlir/lib/Parser/TokenKinds.def
mlir/test/IR/parser.mlir
|