diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-08-31 18:19:09 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-08-31 18:19:09 +0000 |
commit | 65030af6526748ce11534e92f0ccefc44091ba13 (patch) | |
tree | eeed9bb3744e31b499e15c8169a653f05a1bdc26 /include/clang/Lex/Preprocessor.h | |
parent | 140ab234c23f392d5422691c5de1ee3c15026def (diff) |
Switch __import__ over to __import_module__, so we don't conflict with
existing practice with Python extension modules. Not that Python
extension modules should be using a double-underscored identifier
anyway, but...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index c3557a5e93..f2f3f73b9b 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -554,8 +554,8 @@ public: CachingLex(Result); --LexDepth; - // If we have the __import__ keyword, handle the module import now. - if (Result.getKind() == tok::kw___import__ && LexDepth == 0) + // If we have the __import_module__ keyword, handle the module import now. + if (Result.getKind() == tok::kw___import_module__ && LexDepth == 0) HandleModuleImport(Result); } |