X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcommand.c;h=bdefcb22f266f759a711675774cac34851d11520;hb=92fb12eb06716d14c05b781f5d9dcde956d77c30;hp=c6d7659d09c1c34632487b1df8142c211e508171;hpb=16aa47dbdde420fe82032f7d2e166fdf4e974df5;p=pspp diff --git a/src/command.c b/src/command.c index c6d7659d09..bdefcb22f2 100644 --- a/src/command.c +++ b/src/command.c @@ -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.")); @@ -854,7 +854,7 @@ cmd_new_file (void) int cmd_clear_transformations (void) { - if (getl_reading_script) + if (getl_reading_script ()) { msg (SW, _("This command is not valid in a syntax file.")); return CMD_FAILURE;