cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit b47c6189592aa12cef6daea285fd4c962589a789
parent 1a47f6d1fcce8fe8e61a628c3c30030e4f4c71ed
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 24 Feb 2019 12:46:50 -0800

Remove unnecessary spaces in keyword list

This used to contain __builtin_va_list, so was longer than necessary.

Diffstat:
Mpp.c | 88++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)

diff --git 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;