Fixed bug in getl separation.
[pspp-builds.git] / src / command.c
index c6d7659d09c1c34632487b1df8142c211e508171..a471f38e427e0085ee7da51ea764164d157668f2 100644 (file)
@@ -618,7 +618,7 @@ error:
 int
 cmd_exit (void)
 {
-  if (getl_reading_script)
+  if (getl_reading_script())
     {
       msg (SE, _("This command is not accepted in a syntax file.  "
           "Instead, use FINISH to terminate a syntax file."));