identifier: Remove TOKEN_N_TYPES from enum token_type.
[pspp] / src / data / identifier.c
index e3b33a3382a75953b82d4a28be7793c0fa36fc9e..07c7675bd5a3000cf3742c85505bf68b2174ebd3 100644 (file)
@@ -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";
     }
@@ -144,9 +143,6 @@ token_type_to_string (enum token_type token)
 
     case T_EXP:
       return "**";
-
-    case TOKEN_N_TYPES:
-      NOT_REACHED ();
     }
 
   NOT_REACHED ();