[cfe-commits] r39025 - /cfe/cfe/trunk/include/clang/Basic/TokenKinds.def
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:26:56 PDT 2007
Author: sabre
Date: Wed Jul 11 11:26:56 2007
New Revision: 39025
URL: http://llvm.org/viewvc/llvm-project?rev=39025&view=rev
Log:
Enable these keywords as extensions in c90
Modified:
cfe/cfe/trunk/include/clang/Basic/TokenKinds.def
Modified: cfe/cfe/trunk/include/clang/Basic/TokenKinds.def
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/include/clang/Basic/TokenKinds.def?rev=39025&r1=39024&r2=39025&view=diff
==============================================================================
--- cfe/cfe/trunk/include/clang/Basic/TokenKinds.def (original)
+++ cfe/cfe/trunk/include/clang/Basic/TokenKinds.def Wed Jul 11 11:26:56 2007
@@ -205,7 +205,7 @@
KEYWORD(int , 0)
KEYWORD(long , 0)
KEYWORD(register , 0)
-KEYWORD(restrict , NOTC90) // Not in C90
+KEYWORD(restrict , EXTC90) // Ext in C90
KEYWORD(return , 0)
KEYWORD(short , 0)
KEYWORD(signed , 0)
@@ -219,9 +219,9 @@
KEYWORD(void , 0)
KEYWORD(volatile , 0)
KEYWORD(while , 0)
-KEYWORD(_Bool , NOTC90|EXTCPP) // C99 only
-KEYWORD(_Complex , NOTC90) // C99/C++
-KEYWORD(_Imaginary , NOTC90|NOTCPP) // C90 only
+KEYWORD(_Bool , EXTC90|EXTCPP) // C99 only
+KEYWORD(_Complex , EXTC90) // C99/C++
+KEYWORD(_Imaginary , EXTC90|NOTCPP) // C90 only
// Special tokens to the compiler.
KEYWORD(__func__ , EXTC90|EXTCPP) // Only in C99.
More information about the cfe-commits
mailing list