aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pp.c88
1 files changed, 44 insertions, 44 deletions
diff --git a/pp.c b/pp.c
index af36686..9772499 100644
--- a/pp.c
+++ b/pp.c
@@ -18,50 +18,50 @@ keyword(struct token *tok)
const char *name;
int value;
} keywords[] = {
- {"_Alignas", T_ALIGNAS},
- {"_Alignof", T_ALIGNOF},
- {"_Atomic", T_ATOMIC},
- {"_Bool", T_BOOL},
- {"_Complex", T_COMPLEX},
- {"_Generic", T_GENERIC},
- {"_Imaginary", T_IMAGINARY},
- {"_Noreturn", T_NORETURN},
- {"_Static_assert", T_STATIC_ASSERT},
- {"_Thread_local", T_THREAD_LOCAL},
- {"auto", TAUTO},
- {"break", TBREAK},
- {"case", TCASE},
- {"char", TCHAR},
- {"const", TCONST},
- {"continue", TCONTINUE},
- {"default", TDEFAULT},
- {"do", TDO},
- {"double", TDOUBLE},
- {"else", TELSE},
- {"enum", TENUM},
- {"extern", TEXTERN},
- {"float", TFLOAT},
- {"for", TFOR},
- {"goto", TGOTO},
- {"if", TIF},
- {"inline", TINLINE},
- {"int", TINT},
- {"long", TLONG},
- {"register", TREGISTER},
- {"restrict", TRESTRICT},
- {"return", TRETURN},
- {"short", TSHORT},
- {"signed", TSIGNED},
- {"sizeof", TSIZEOF},
- {"static", TSTATIC},
- {"struct", TSTRUCT},
- {"switch", TSWITCH},
- {"typedef", TTYPEDEF},
- {"union", TUNION},
- {"unsigned", TUNSIGNED},
- {"void", TVOID},
- {"volatile", TVOLATILE},
- {"while", TWHILE},
+ {"_Alignas", T_ALIGNAS},
+ {"_Alignof", T_ALIGNOF},
+ {"_Atomic", T_ATOMIC},
+ {"_Bool", T_BOOL},
+ {"_Complex", T_COMPLEX},
+ {"_Generic", T_GENERIC},
+ {"_Imaginary", T_IMAGINARY},
+ {"_Noreturn", T_NORETURN},
+ {"_Static_assert", T_STATIC_ASSERT},
+ {"_Thread_local", T_THREAD_LOCAL},
+ {"auto", TAUTO},
+ {"break", TBREAK},
+ {"case", TCASE},
+ {"char", TCHAR},
+ {"const", TCONST},
+ {"continue", TCONTINUE},
+ {"default", TDEFAULT},
+ {"do", TDO},
+ {"double", TDOUBLE},
+ {"else", TELSE},
+ {"enum", TENUM},
+ {"extern", TEXTERN},
+ {"float", TFLOAT},
+ {"for", TFOR},
+ {"goto", TGOTO},
+ {"if", TIF},
+ {"inline", TINLINE},
+ {"int", TINT},
+ {"long", TLONG},
+ {"register", TREGISTER},
+ {"restrict", TRESTRICT},
+ {"return", TRETURN},
+ {"short", TSHORT},
+ {"signed", TSIGNED},
+ {"sizeof", TSIZEOF},
+ {"static", TSTATIC},
+ {"struct", TSTRUCT},
+ {"switch", TSWITCH},
+ {"typedef", TTYPEDEF},
+ {"union", TUNION},
+ {"unsigned", TUNSIGNED},
+ {"void", TVOID},
+ {"volatile", TVOLATILE},
+ {"while", TWHILE},
};
size_t low = 0, high = LEN(keywords), mid;
int cmp;