mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 02:38:33 +00:00
Reformat lexer/parser tokens. (#772)
Related to discussion on #738, but also trying to standardize handling of everything and make placement of token spellings (`AND "and"`) consistently in lexer.lpp. I could have gone the other direction, removing the list of things in lexer.lpp, but this feels like it does more to use the compiler to detect skew between lexer.lpp and parser.ypp.
This commit is contained in:
1 parent
36ed79dc25
commit
00779b60a8
3 files changed
+268
-221
No files matched your search
@@ -1,2 +1,2 @@
|
||||
COMPILATION ERROR: executable_semantics/testdata/pattern_variable_fail.carbon:7: syntax error, unexpected :
|
||||
COMPILATION ERROR: executable_semantics/testdata/pattern_variable_fail.carbon:7: syntax error, unexpected COLON
|
||||
EXIT CODE: 255
|
||||
Reference in new issue
Block a user