projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PR 11119.
[pspp]
/
src
/
rename-vars.c
diff --git
a/src/rename-vars.c
b/src/rename-vars.c
index 212d7bdfb78c8a3fe3d9dd13a6ccbe320edb3b8d..eeb0b89dfce277e8fdc20ea9d5471b20f4f0efe8 100644
(file)
--- a/
src/rename-vars.c
+++ b/
src/rename-vars.c
@@
-14,14
+14,15
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include <stdlib.h>
#include <config.h>
#include <stdlib.h>
-#include
<assert.h>
+#include
"error.h"
#include "alloc.h"
#include "command.h"
#include "alloc.h"
#include "command.h"
+#include "dictionary.h"
#include "error.h"
#include "hash.h"
#include "lexer.h"
#include "error.h"
#include "hash.h"
#include "lexer.h"
@@
-42,8
+43,12
@@
cmd_rename_variables (void)
int i;
int i;
- lex_match_id ("RENAME");
- lex_match_id ("VARIABLES");
+ if (temporary != 0)
+ {
+ msg (SE, _("RENAME VARS may not be used after TEMPORARY. "
+ "Temporary transformations will be made permanent."));
+ cancel_temporary ();
+ }
do
{
do
{