projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lexer: New function lex_force_match_phrase().
[pspp]
/
src
/
language
/
dictionary
/
attributes.c
diff --git
a/src/language/dictionary/attributes.c
b/src/language/dictionary/attributes.c
index 954314ef4fb07339f599e8f6974582e5b1cf00c3..e646af3847ed45e8cc4ec58d98c583838e850562 100644
(file)
--- a/
src/language/dictionary/attributes.c
+++ b/
src/language/dictionary/attributes.c
@@
-59,8
+59,7
@@
cmd_variable_attribute (struct lexer *lexer, struct dataset *ds)
size_t n_vars, i;
bool ok;
- if (!lex_force_match_id (lexer, "VARIABLES")
- || !lex_force_match (lexer, T_EQUALS)
+ if (!lex_force_match_phrase (lexer, "VARIABLES=")
|| !parse_variables (lexer, dict, &vars, &n_vars, PV_NONE))
return CMD_FAILURE;