projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(close_active_file) Remove unnecessary test.
[pspp]
/
src
/
temporary.c
diff --git
a/src/temporary.c
b/src/temporary.c
index d82461d1e97626f3d04a7d68922f85e123be4134..293ed30c174ff16b63d9adf3d19937871503e7ef 100644
(file)
--- a/
src/temporary.c
+++ b/
src/temporary.c
@@
-14,15
+14,16
@@
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 <config.h>
-#include
<assert.h>
+#include
"error.h"
#include <stddef.h>
#include <stdlib.h>
#include "alloc.h"
#include "command.h"
#include <stddef.h>
#include <stdlib.h>
#include "alloc.h"
#include "command.h"
+#include "dictionary.h"
#include "do-ifP.h"
#include "error.h"
#include "hash.h"
#include "do-ifP.h"
#include "error.h"
#include "hash.h"
@@
-31,8
+32,6
@@
#include "value-labels.h"
#include "var.h"
#include "value-labels.h"
#include "var.h"
-#include "debug-print.h"
-
int temporary;
struct dictionary *temp_dict;
int temp_trns;
int temporary;
struct dictionary *temp_dict;
int temp_trns;
@@
-41,8
+40,6
@@
int temp_trns;
int
cmd_temporary (void)
{
int
cmd_temporary (void)
{
- lex_match_id ("TEMPORARY");
-
/* TEMPORARY is not allowed inside DO IF or LOOP. */
if (ctl_stack)
{
/* TEMPORARY is not allowed inside DO IF or LOOP. */
if (ctl_stack)
{
@@
-62,7
+59,6
@@
cmd_temporary (void)
temporary = 1;
temp_dict = dict_clone (default_dict);
temp_trns = n_trns;
temporary = 1;
temp_dict = dict_clone (default_dict);
temp_trns = n_trns;
- debug_printf (("TEMPORARY: temp_trns=%d\n", temp_trns));
return lex_end_of_command ();
}
return lex_end_of_command ();
}