projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lexer: Add support for macro punctuation.
[pspp]
/
src
/
data
/
identifier.c
diff --git
a/src/data/identifier.c
b/src/data/identifier.c
index c613734c94dc647ec4d2c1ca93e9e0dfb8232542..e3b33a3382a75953b82d4a28be7793c0fa36fc9e 100644
(file)
--- a/
src/data/identifier.c
+++ b/
src/data/identifier.c
@@
-62,10
+62,11
@@
token_type_to_string (enum token_type token)
switch (token)
{
case T_ID:
- case T_MACRO_ID:
case T_POS_NUM:
case T_NEG_NUM:
case T_STRING:
+ case T_MACRO_ID:
+ case T_MACRO_PUNCT:
case T_STOP:
return NULL;