diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-18 20:41:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-18 20:41:10 +0000 |
commit | 5eb8ae2453aee62a0acd56a5cb48259156d087f6 (patch) | |
tree | 0c3980788c4730890df4a549b9a4f47b072e3a09 /clang/lib/Lex/PPDirectives.cpp | |
parent | 0f6dc78cfeed7ce60b6309e7401d2d77170ae717 (diff) | |
download | bcm5719-llvm-5eb8ae2453aee62a0acd56a5cb48259156d087f6.tar.gz bcm5719-llvm-5eb8ae2453aee62a0acd56a5cb48259156d087f6.zip |
This is not considered a preprocessor directive in .S files:
# 4
llvm-svn: 67233
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 5a4d2ee15e3..8e76b920aab 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -499,6 +499,8 @@ TryAgain: goto TryAgain; case tok::numeric_constant: // # 7 GNU line marker directive. + if (getLangOptions().AsmPreprocessor) + break; // # 4 is not a preprocessor directive in .S files. return HandleDigitDirective(Result); default: IdentifierInfo *II = Result.getIdentifierInfo(); |