forked from OSchip/llvm-project
3132e9cd7c
After this, NUMERIC_CONSTANT and strings should parse only one way. There are 8 types of literals, and 24 valid (literal, TokenKind) pairs. This means adding 8 new named guards (or 24, if we want to assert the token). It seems fairly clear to me at this point that the guard names are unneccesary indirection: the guards are in fact coupled to the rule signature. (Also add the zero guard I forgot in the previous patch.) Differential Revision: https://reviews.llvm.org/D130066 |
||
---|---|---|
.. | ||
Unit | ||
crash | ||
cxx | ||
.clang-format | ||
CMakeLists.txt | ||
check-cxx-bnf.test | ||
fuzzer.cpp | ||
glr-variant-start.cpp | ||
glr.cpp | ||
html-forest.c | ||
lex.c | ||
lit.cfg.py | ||
lit.local.cfg | ||
lit.site.cfg.py.in | ||
lr-build-basic.test | ||
lr-build-conflicts.test | ||
strip-directives.c |