X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fidentifier.c;h=07c7675bd5a3000cf3742c85505bf68b2174ebd3;hb=320622191b3de640da6ba0e347a94d28493711ae;hp=db20010464cab1e3f3a1f42cc1e7a4c012bf8c1b;hpb=8fc2d07cd923190c1a98798f2f86700fff1c3101;p=pspp diff --git a/src/data/identifier.c b/src/data/identifier.c index db20010464..07c7675bd5 100644 --- a/src/data/identifier.c +++ b/src/data/identifier.c @@ -46,7 +46,6 @@ token_type_to_name (enum token_type type) #define TOKEN_TYPE(TYPE) case T_##TYPE: return #TYPE; TOKEN_TYPES #undef TOKEN_TYPE - case TOKEN_N_TYPES: default: return "unknown token type"; } @@ -65,6 +64,8 @@ token_type_to_string (enum token_type token) case T_POS_NUM: case T_NEG_NUM: case T_STRING: + case T_MACRO_ID: + case T_MACRO_PUNCT: case T_STOP: return NULL; @@ -142,9 +143,6 @@ token_type_to_string (enum token_type token) case T_EXP: return "**"; - - case TOKEN_N_TYPES: - NOT_REACHED (); } NOT_REACHED ();