[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/Attic/macro.c,v [branch]
From: |
Eric Blake |
Subject: |
Changes to m4/src/Attic/macro.c,v [branch] |
Date: |
Tue, 06 Jun 2006 12:39:56 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch
Changes by: Eric Blake <ericb> 06/06/06 12:39:53
Index: src/macro.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/macro.c,v
retrieving revision 1.1.1.1.2.1
retrieving revision 1.1.1.1.2.2
diff -u -b -r1.1.1.1.2.1 -r1.1.1.1.2.2
--- src/macro.c 1 May 2005 11:54:12 -0000 1.1.1.1.2.1
+++ src/macro.c 6 Jun 2006 12:39:53 -0000 1.1.1.1.2.2
@@ -1,6 +1,7 @@
/* GNU m4 -- A simple macro processor
- Copyright (C) 1989, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2006 Free Software
+ Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -279,6 +280,7 @@
boolean traced;
int my_call_id;
+ SYMBOL_PENDING_EXPANSIONS (sym)++;
expansion_level++;
if (expansion_level > nesting_limit)
M4ERROR ((EXIT_FAILURE, 0,
@@ -312,6 +314,10 @@
trace_post (SYMBOL_NAME (sym), my_call_id, argc, argv, expanded);
--expansion_level;
+ --SYMBOL_PENDING_EXPANSIONS (sym);
+
+ if (SYMBOL_DELETED (sym))
+ free_symbol (sym);
obstack_free (&arguments, NULL);
obstack_free (&argptr, NULL);
- Changes to m4/src/Attic/macro.c,v [branch],
Eric Blake <=