X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcontrol%2Ftemporary.c;h=cdcfc7625097578c2a9a4b247bfceea7fd0ef94a;hb=a80a9e0debb7c19c41e2d4331e4a6d41a7ecf50d;hp=c7514413727424dd7c455aaf28f0e65a7c9d1a44;hpb=60c545e6e958d868db3399a8989d37d8f9e0c131;p=pspp diff --git a/src/language/control/temporary.c b/src/language/control/temporary.c index c751441372..cdcfc76250 100644 --- a/src/language/control/temporary.c +++ b/src/language/control/temporary.c @@ -35,12 +35,13 @@ /* Parses the TEMPORARY command. */ int -cmd_temporary (struct lexer *lexer UNUSED, struct dataset *ds) +cmd_temporary (struct lexer *lexer, struct dataset *ds) { if (!proc_in_temporary_transformations (ds)) proc_start_temporary_transformations (ds); else - msg (SE, _("This command may only appear once between " - "procedures and procedure-like commands.")); + lex_ofs_error (lexer, 0, 0, + _("This command may only appear once between " + "procedures and procedure-like commands.")); return CMD_SUCCESS; }