[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: 35-gary-move-nesting-limit-macro.patch
From: |
Gary V. Vaughan |
Subject: |
FYI: 35-gary-move-nesting-limit-macro.patch |
Date: |
Tue, 29 Jul 2003 17:12:27 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030718 |
Applied to HEAD.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
Index: ChangeLog
2003-07-29 Gary V. Vaughan <address@hidden)
* m4/m4module.h (M4_DEFAULT_NESTING_LIMIT): This value is
already available to module writers through
m4_{get,set}_nesting_limit_opt(), so moved from here...
* m4/m4.c (DEFAULT_NESTING_LIMIT): ...to here and renamed.
(m4_create): Use it.
from Gary V. Vaughan <address@hidden>
Index: m4/m4.c
===================================================================
RCS file: /cvsroot/m4/m4/m4/m4.c,v
retrieving revision 1.7
diff -u -p -u -r1.7 m4.c
--- m4/m4.c 29 Jul 2003 15:57:34 -0000 1.7
+++ m4/m4.c 29 Jul 2003 16:11:01 -0000
@@ -20,6 +20,9 @@
#include "m4private.h"
+#define DEFAULT_NESTING_LIMIT 250
+
+
m4 *
m4_create (void)
{
@@ -31,9 +34,9 @@ m4_create (void)
context->debug_file = stderr;
obstack_init (&context->trace_messages);
- context->nesting_limit = M4_DEFAULT_NESTING_LIMIT;
+ context->nesting_limit = DEFAULT_NESTING_LIMIT;
- context->search_path = XCALLOC (m4__search_path_info, 1);
+ context->search_path = XCALLOC (m4__search_path_info, 1);
return context;
}
Index: m4/m4module.h
===================================================================
RCS file: /cvsroot/m4/m4/m4/m4module.h,v
retrieving revision 1.62
diff -u -p -u -r1.62 m4module.h
--- m4/m4module.h 29 Jul 2003 15:57:34 -0000 1.62
+++ m4/m4module.h 29 Jul 2003 16:11:01 -0000
@@ -27,8 +27,6 @@
BEGIN_C_DECLS
-#define M4_DEFAULT_NESTING_LIMIT 250
-
/* Various declarations. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: 35-gary-move-nesting-limit-macro.patch,
Gary V. Vaughan <=