projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e0129
)
lexer: Fix GCC warning for unhandled TOKEN_N_TYPES in lex_token_name().
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 21 Dec 2010 07:59:28 +0000
(23:59 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 21 Dec 2010 07:59:28 +0000
(23:59 -0800)
src/language/lexer/lexer.c
patch
|
blob
|
history
diff --git
a/src/language/lexer/lexer.c
b/src/language/lexer/lexer.c
index 616b70081259eaaea471f3d29033ed95635b0541..a409a83ee957647a7b5d9b5f8195732ac8e0a61c 100644
(file)
--- a/
src/language/lexer/lexer.c
+++ b/
src/language/lexer/lexer.c
@@
-966,6
+966,7
@@
lex_token_name (enum token_type token)
case T_POS_NUM:
case T_NEG_NUM:
case T_STRING:
+ case TOKEN_N_TYPES:
NOT_REACHED ();
case T_STOP: