diff options
| author | Carol Nichols <carol.nichols@gmail.com> | 2015-05-05 19:32:26 -0400 |
|---|---|---|
| committer | Carol Nichols <carol.nichols@gmail.com> | 2015-05-05 19:47:50 -0400 |
| commit | 9c7d5ae57c27ebfc019c2c23283bb905d8c3b74f (patch) | |
| tree | 354f43ea6e7d1e51616487670153f7d043816cf3 /src/rustllvm/RustWrapper.cpp | |
| parent | 1ca9ed61d62b529aa403229b0a23dac69a091fe3 (diff) | |
| download | rust-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
