projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format: Create a new "struct fmt_affix" for prefix and suffix strings.
[pspp]
/
src
/
language
/
dictionary
/
sys-file-info.c
diff --git
a/src/language/dictionary/sys-file-info.c
b/src/language/dictionary/sys-file-info.c
index fe24953ae80b33d484b7171617b5210dfcea0000..30402422e9e2ac2252e14c656165be5fc798a36b 100644
(file)
--- a/
src/language/dictionary/sys-file-info.c
+++ b/
src/language/dictionary/sys-file-info.c
@@
-74,7
+74,7
@@
cmd_sysfile_info (struct lexer *lexer, struct dataset *ds UNUSED)
int r, i;
lex_match_id (lexer, "FILE");
int r, i;
lex_match_id (lexer, "FILE");
- lex_match (lexer,
'='
);
+ lex_match (lexer,
T_EQUALS
);
h = fh_parse (lexer, FH_REF_FILE);
if (!h)
h = fh_parse (lexer, FH_REF_FILE);
if (!h)
@@
-246,11
+246,11
@@
cmd_display (struct lexer *lexer, struct dataset *ds)
break;
}
break;
}
- lex_match (lexer,
'/'
);
+ lex_match (lexer,
T_SLASH
);
lex_match_id (lexer, "VARIABLES");
lex_match_id (lexer, "VARIABLES");
- lex_match (lexer,
'='
);
+ lex_match (lexer,
T_EQUALS
);
- if (lex_token (lexer) !=
'.'
)
+ if (lex_token (lexer) !=
T_ENDCMD
)
{
if (!parse_variables_const (lexer, dataset_dict (ds), &vl, &n,
PV_NONE))
{
if (!parse_variables_const (lexer, dataset_dict (ds), &vl, &n,
PV_NONE))