projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
identifier: Remove TOKEN_N_TYPES from enum token_type.
[pspp]
/
src
/
data
/
identifier.c
diff --git
a/src/data/identifier.c
b/src/data/identifier.c
index e3b33a3382a75953b82d4a28be7793c0fa36fc9e..07c7675bd5a3000cf3742c85505bf68b2174ebd3 100644
(file)
--- 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";
}
@@
-144,9
+143,6
@@
token_type_to_string (enum token_type token)
case T_EXP:
return "**";
-
- case TOKEN_N_TYPES:
- NOT_REACHED ();
}
NOT_REACHED ();