From b47c6189592aa12cef6daea285fd4c962589a789 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 24 Feb 2019 12:46:50 -0800 Subject: Remove unnecessary spaces in keyword list This used to contain __builtin_va_list, so was longer than necessary. --- pp.c | 88 ++++++++++++++++++++++++++++++++++---------------------------------- 1 file 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; -- cgit v1.2.3