mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-26 16:05:54 +00:00
[MIR] Change the token name for '<' and '>' to be consitent with the LLVM IR parser.
Thanks to Ahmed Bougacha for noticing! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262899 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
520819d997
commit
252dec6972
@ -498,9 +498,9 @@ static MIToken::TokenKind symbolToken(char C) {
|
||||
case '-':
|
||||
return MIToken::minus;
|
||||
case '<':
|
||||
return MIToken::lt;
|
||||
return MIToken::less;
|
||||
case '>':
|
||||
return MIToken::gt;
|
||||
return MIToken::greater;
|
||||
default:
|
||||
return MIToken::Error;
|
||||
}
|
||||
|
@ -45,8 +45,8 @@ struct MIToken {
|
||||
rbrace,
|
||||
plus,
|
||||
minus,
|
||||
lt,
|
||||
gt,
|
||||
less,
|
||||
greater,
|
||||
|
||||
// Keywords
|
||||
kw_implicit,
|
||||
|
Loading…
x
Reference in New Issue
Block a user