X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Frename-vars.c;h=21b80432cd38ffaa3e59c4514c90544cbd6ca1b8;hb=14e7292894533c5491a774a2d749386362660812;hp=212d7bdfb78c8a3fe3d9dd13a6ccbe320edb3b8d;hpb=458f79fdf6fbd044cbfc4831b184280a82cf8d81;p=pspp-builds.git diff --git a/src/rename-vars.c b/src/rename-vars.c index 212d7bdf..21b80432 100644 --- a/src/rename-vars.c +++ b/src/rename-vars.c @@ -42,6 +42,13 @@ cmd_rename_variables (void) int i; + if (temporary != 0) + { + msg (SE, _("RENAME VARS may not be used after TEMPORARY. " + "Temporary transformations will be made permanent.")); + cancel_temporary (); + } + lex_match_id ("RENAME"); lex_match_id ("VARIABLES");