diff options
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 32 |
1 files changed, 23 insertions, 9 deletions
@@ -536,17 +536,20 @@ keyword(struct token *tok) const char *name; int value; } keywords[] = { - {"_Alignas", T_ALIGNAS}, - {"_Alignof", T_ALIGNOF}, + {"_Alignas", TALIGNAS}, + {"_Alignof", TALIGNOF}, {"_Atomic", T_ATOMIC}, - {"_Bool", T_BOOL}, + {"_Bool", TBOOL}, {"_Complex", T_COMPLEX}, + {"_Decimal128", T_DECIMAL128}, + {"_Decimal32", T_DECIMAL32}, + {"_Decimal64", T_DECIMAL64}, {"_Generic", T_GENERIC}, {"_Imaginary", T_IMAGINARY}, {"_Noreturn", T_NORETURN}, - {"_Static_assert", T_STATIC_ASSERT}, - {"_Thread_local", T_THREAD_LOCAL}, - {"__alignof__", T_ALIGNOF}, + {"_Static_assert", TSTATIC_ASSERT}, + {"_Thread_local", TTHREAD_LOCAL}, + {"__alignof__", TALIGNOF}, {"__asm", T__ASM__}, {"__asm__", T__ASM__}, {"__attribute__", T__ATTRIBUTE__}, @@ -554,15 +557,19 @@ keyword(struct token *tok) {"__inline__", TINLINE}, {"__signed", TSIGNED}, {"__signed__", TSIGNED}, - {"__thread", T_THREAD_LOCAL}, - {"__typeof", T__TYPEOF__}, - {"__typeof__", T__TYPEOF__}, + {"__thread", TTHREAD_LOCAL}, + {"__typeof", TTYPEOF}, + {"__typeof__", TTYPEOF}, {"__volatile__", TVOLATILE}, + {"alignas", TALIGNAS}, + {"alignof", TALIGNOF}, {"auto", TAUTO}, + {"bool", TBOOL}, {"break", TBREAK}, {"case", TCASE}, {"char", TCHAR}, {"const", TCONST}, + {"constexpr", TCONSTEXPR}, {"continue", TCONTINUE}, {"default", TDEFAULT}, {"do", TDO}, @@ -570,6 +577,7 @@ keyword(struct token *tok) {"else", TELSE}, {"enum", TENUM}, {"extern", TEXTERN}, + {"false", TFALSE}, {"float", TFLOAT}, {"for", TFOR}, {"goto", TGOTO}, @@ -578,15 +586,21 @@ keyword(struct token *tok) {"int", TINT}, {"long", TLONG}, {"register", TREGISTER}, + {"nullptr", TNULLPTR}, {"restrict", TRESTRICT}, {"return", TRETURN}, {"short", TSHORT}, {"signed", TSIGNED}, {"sizeof", TSIZEOF}, {"static", TSTATIC}, + {"static_assert", TSTATIC_ASSERT}, {"struct", TSTRUCT}, {"switch", TSWITCH}, + {"thread_local", TTHREAD_LOCAL}, + {"true", TTRUE}, {"typedef", TTYPEDEF}, + {"typeof", TTYPEOF}, + {"typeof_unqual", TTYPEOF_UNQUAL}, {"union", TUNION}, {"unsigned", TUNSIGNED}, {"void", TVOID}, |