about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCarol Nichols <carol.nichols@gmail.com>2015-05-05 19:32:26 -0400
committerCarol Nichols <carol.nichols@gmail.com>2015-05-05 19:47:50 -0400
commit9c7d5ae57c27ebfc019c2c23283bb905d8c3b74f (patch)
tree354f43ea6e7d1e51616487670153f7d043816cf3 /src/rustllvm/RustWrapper.cpp
parent1ca9ed61d62b529aa403229b0a23dac69a091fe3 (diff)
downloadrust-9c7d5ae57c27ebfc019c2c23283bb905d8c3b74f.tar.gz
rust-9c7d5ae57c27ebfc019c2c23283bb905d8c3b74f.zip
Panic if the grammar verifier sees a token it doesn't recognize
To prevent the reference grammar from getting out of sync with the real
grammar, panic if RustLexer.tokens contains an unknown token in a
similar way that verify.rs panics if it encounters an unknown binary
operation token.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions