summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-09-04 22:40:31 +0000
committerKevin Enderby <enderby@apple.com>2009-09-04 22:40:31 +0000
commitfb0f0dedd74dab13737a77671a724ee88465f5da (patch)
tree3ebaa02a943289477e4f4a8aea1e1c648deadfb6 /include
parent9823ca971d5cb475401e59fde244caf5087c74a1 (diff)
downloadllvm-fb0f0dedd74dab13737a77671a724ee88465f5da.tar.gz
llvm-fb0f0dedd74dab13737a77671a724ee88465f5da.tar.bz2
llvm-fb0f0dedd74dab13737a77671a724ee88465f5da.tar.xz
Added AsmToken enum constants to MCAsmLexer.h for '[', ']', '{', and '}' in
preparation of supporting other targets. Then changed the lexer to parse these as tokens. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAsmLexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCAsmLexer.h b/include/llvm/MC/MCAsmLexer.h
index 2f7383dc2c..e66425abef 100644
--- a/include/llvm/MC/MCAsmLexer.h
+++ b/include/llvm/MC/MCAsmLexer.h
@@ -37,7 +37,7 @@ struct AsmToken {
Colon,
Plus, Minus, Tilde,
Slash, // '/'
- LParen, RParen,
+ LParen, RParen, LBrac, RBrac, LCurly, RCurly,
Star, Comma, Dollar, Equal, EqualEqual,
Pipe, PipePipe, Caret,