Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/m4 add nesting_limit



details:   https://anonhg.NetBSD.org/src/rev/40e4961fb88e
branches:  trunk
changeset: 342966:40e4961fb88e
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 16 18:30:57 2016 +0000

description:
add nesting_limit

diffstat:

 usr.bin/m4/extern.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r cbddac00b39a -r 40e4961fb88e usr.bin/m4/extern.h
--- a/usr.bin/m4/extern.h       Sat Jan 16 17:01:22 2016 +0000
+++ b/usr.bin/m4/extern.h       Sat Jan 16 18:30:57 2016 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: extern.h,v 1.49 2009/10/14 17:19:47 sthen Exp $       */
-/*     $NetBSD: extern.h,v 1.18 2016/01/16 16:57:29 christos Exp $     */
+/*     $NetBSD: extern.h,v 1.19 2016/01/16 18:30:57 christos Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -175,6 +175,7 @@
 extern int wrapindex;          /* current index in m4wraps */
 extern int fatal_warnings;     /* exit on warning */
 extern int quiet;              /* no warnings */
+extern int nesting_limit;      /* macro expansion nesting limit */
 #ifndef REAL_FREEZE
 extern FILE *freezef;          /* copy of input */
 extern int thawing;            /* don't process includes during thaw */



Home | Main Index | Thread Index | Old Index