summaryrefslogtreecommitdiff
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-09-04 21:45:34 +0000
committerKevin Enderby <enderby@apple.com>2009-09-04 21:45:34 +0000
commit9823ca971d5cb475401e59fde244caf5087c74a1 (patch)
tree96b87e75cf825093e41b7784be3f0042e50d587f /include/llvm/MC
parent68f195cc50a8b7722004c8f3ca3dcf624b524552 (diff)
downloadllvm-9823ca971d5cb475401e59fde244caf5087c74a1.tar.gz
llvm-9823ca971d5cb475401e59fde244caf5087c74a1.tar.bz2
llvm-9823ca971d5cb475401e59fde244caf5087c74a1.tar.xz
Added the AsmToken::Hash enum constant to MCAsmLexer.h in preparation of
supporting other targets. Changed the code to pass MCAsmInfo to the parser and the lexer. Then changed the lexer to use CommentString from MCAsmInfo instead of a literal '#' character. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-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 a1d67b1861..2f7383dc2c 100644
--- a/include/llvm/MC/MCAsmLexer.h
+++ b/include/llvm/MC/MCAsmLexer.h
@@ -41,7 +41,7 @@ struct AsmToken {
Star, Comma, Dollar, Equal, EqualEqual,
Pipe, PipePipe, Caret,
- Amp, AmpAmp, Exclaim, ExclaimEqual, Percent,
+ Amp, AmpAmp, Exclaim, ExclaimEqual, Percent, Hash,
Less, LessEqual, LessLess, LessGreater,
Greater, GreaterEqual, GreaterGreater
};