projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add details on how various features interact.
[pspp]
/
src
/
vars-prs.c
diff --git
a/src/vars-prs.c
b/src/vars-prs.c
index 8b15fd7bc91a8a1f44156788554028452ee58320..6f3d7f3e279b3fd6745cc6dead6154ac98bf72b9 100644
(file)
--- a/
src/vars-prs.c
+++ b/
src/vars-prs.c
@@
-392,7
+392,8
@@
parse_DATA_LIST_vars (char ***names, int *nnames, int pv_opts)
lex_error ("expecting variable name");
goto fail;
}
- if (tokid[0] == '#' && (pv_opts & PV_NO_SCRATCH))
+ if (dict_class_from_id (tokid) == DC_SCRATCH
+ && (pv_opts & PV_NO_SCRATCH))
{
msg (SE, _("Scratch variables not allowed here."));
goto fail;