mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
Remove unused tokens in the ll lexer.
Patch by Robin Eklind! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
77343a8fba
commit
b5e97c47cd
@ -241,7 +241,6 @@ lltok::Kind LLLexer::LexToken() {
|
||||
case ')': return lltok::rparen;
|
||||
case ',': return lltok::comma;
|
||||
case '*': return lltok::star;
|
||||
case '\\': return lltok::backslash;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,9 +28,7 @@ namespace lltok {
|
||||
lbrace, rbrace, // { }
|
||||
less, greater, // < >
|
||||
lparen, rparen, // ( )
|
||||
backslash, // \ (not /)
|
||||
exclaim, // !
|
||||
hash, // #
|
||||
|
||||
kw_x,
|
||||
kw_true, kw_false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user