diff options
author | Alexandros Naskos <alex_naskos@hotmail.com> | 2018-11-01 18:24:02 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-01 17:24:02 +0100 |
commit | eb3c9e1d1c833933e04d2c8ecaa816e12704d961 (patch) | |
tree | cd0ef6b4ca4a182e7cc665788c37dfd0de5f562c /compiler | |
parent | dbfc5c5a44a3e04f7bb3334abf8bf4252e383262 (diff) | |
download | Nim-eb3c9e1d1c833933e04d2c8ecaa816e12704d961.tar.gz |
Added "typeof" and "restrict" to special words. (#9226)
* Added "typeof" and "restrict" to special words. * Added C and C++ reserved keyword as object field identifier test
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/wordrecg.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/wordrecg.nim b/compiler/wordrecg.nim index 640a7e02f..41bdc9fcb 100644 --- a/compiler/wordrecg.nim +++ b/compiler/wordrecg.nim @@ -73,9 +73,9 @@ type wConst_cast, wDefault, wDelete, wDouble, wDynamic_cast, wExplicit, wExtern, wFalse, wFloat, wFriend, wGoto, wInt, wLong, wMutable, wNamespace, wNew, wOperator, - wPrivate, wProtected, wPublic, wRegister, wReinterpret_cast, + wPrivate, wProtected, wPublic, wRegister, wReinterpret_cast, wRestrict, wShort, wSigned, wSizeof, wStatic_cast, wStruct, wSwitch, - wThis, wThrow, wTrue, wTypedef, wTypeid, wTypename, + wThis, wThrow, wTrue, wTypedef, wTypeid, wTypeof, wTypename, wUnion, wPacked, wUnsigned, wVirtual, wVoid, wVolatile, wWchar_t, wAlignas, wAlignof, wConstexpr, wDecltype, wNullptr, wNoexcept, @@ -161,9 +161,9 @@ const "dynamic_cast", "explicit", "extern", "false", "float", "friend", "goto", "int", "long", "mutable", "namespace", "new", "operator", - "private", "protected", "public", "register", "reinterpret_cast", + "private", "protected", "public", "register", "reinterpret_cast", "restrict", "short", "signed", "sizeof", "static_cast", "struct", "switch", - "this", "throw", "true", "typedef", "typeid", + "this", "throw", "true", "typedef", "typeid", "typeof", "typename", "union", "packed", "unsigned", "virtual", "void", "volatile", "wchar_t", |