projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Beginning of VFM cleanup.
[pspp-builds.git]
/
src
/
command.c
diff --git
a/src/command.c
b/src/command.c
index b386317a2c1052f07617f51f48ef022328b73339..b12e46d0dfb9c7d815e7164b537b68832f8789f0 100644
(file)
--- a/
src/command.c
+++ b/
src/command.c
@@
-201,7
+201,8
@@
cmd_parse (void)
/* If we're in a FILE TYPE structure, only certain commands can be
allowed. */
/* If we're in a FILE TYPE structure, only certain commands can be
allowed. */
- if (pgm_state == STATE_INPUT && vfm_source == &file_type_source
+ if (pgm_state == STATE_INPUT
+ && case_source_is_class (vfm_source, &file_type_source_class)
&& !FILE_TYPE_okay (cp))
return CMD_FAILURE;
&& !FILE_TYPE_okay (cp))
return CMD_FAILURE;