mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +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::rparen;
|
||||||
case ',': return lltok::comma;
|
case ',': return lltok::comma;
|
||||||
case '*': return lltok::star;
|
case '*': return lltok::star;
|
||||||
case '\\': return lltok::backslash;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,9 +28,7 @@ namespace lltok {
|
|||||||
lbrace, rbrace, // { }
|
lbrace, rbrace, // { }
|
||||||
less, greater, // < >
|
less, greater, // < >
|
||||||
lparen, rparen, // ( )
|
lparen, rparen, // ( )
|
||||||
backslash, // \ (not /)
|
|
||||||
exclaim, // !
|
exclaim, // !
|
||||||
hash, // #
|
|
||||||
|
|
||||||
kw_x,
|
kw_x,
|
||||||
kw_true, kw_false,
|
kw_true, kw_false,
|
||||||
|
Loading…
Reference in New Issue
Block a user