[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/Attic/builtin.c,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/Attic/builtin.c,v [branch-1_4] |
Date: |
Thu, 13 Jul 2006 21:16:42 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/07/13 21:16:42
Index: src/builtin.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/builtin.c,v
retrieving revision 1.1.1.1.2.21
retrieving revision 1.1.1.1.2.22
diff -u -b -r1.1.1.1.2.21 -r1.1.1.1.2.22
--- src/builtin.c 13 Jul 2006 13:38:20 -0000 1.1.1.1.2.21
+++ src/builtin.c 13 Jul 2006 21:16:42 -0000 1.1.1.1.2.22
@@ -493,9 +493,11 @@
static void
m4_undefine (struct obstack *obs, int argc, token_data **argv)
{
- if (bad_argc (argv[0], argc, 2, 2))
+ int i;
+ if (bad_argc (argv[0], argc, 2, -1))
return;
- lookup_symbol (ARG (1), SYMBOL_DELETE);
+ for (i = 1; i < argc; i++)
+ lookup_symbol (ARG (i), SYMBOL_DELETE);
}
static void
@@ -507,9 +509,11 @@
static void
m4_popdef (struct obstack *obs, int argc, token_data **argv)
{
- if (bad_argc (argv[0], argc, 2, 2))
+ int i;
+ if (bad_argc (argv[0], argc, 2, -1))
return;
- lookup_symbol (ARG (1), SYMBOL_POPDEF);
+ for (i = 1; i < argc; i++)
+ lookup_symbol (ARG (i), SYMBOL_POPDEF);
}
/*---------------------.
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/06
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/07
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/09
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/11
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/13
- Changes to m4/src/Attic/builtin.c,v [branch-1_4],
Eric Blake <=
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/13
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/14
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/14
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/17
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/24
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/27
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/29
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/30