Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/m4 - declarations for real/fake freeze
details: https://anonhg.NetBSD.org/src/rev/09f6bd828bcf
branches: trunk
changeset: 342961:09f6bd828bcf
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 16 16:57:29 2016 +0000
description:
- declarations for real/fake freeze
- add new flags
diffstat:
usr.bin/m4/extern.h | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r 142ca02c7144 -r 09f6bd828bcf usr.bin/m4/extern.h
--- a/usr.bin/m4/extern.h Sat Jan 16 16:56:21 2016 +0000
+++ b/usr.bin/m4/extern.h Sat Jan 16 16:57:29 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.17 2015/01/29 03:27:06 christos Exp $ */
+/* $NetBSD: extern.h,v 1.18 2016/01/16 16:57:29 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -57,6 +57,10 @@
extern void doesyscmd(const char *);
extern void getdivfile(const char *);
extern void doformat(const char *[], int);
+#ifdef REAL_FREEZE
+extern void freeze_state(const char *);
+extern void thaw_state(const char *);
+#endif
/* look.c */
@@ -83,6 +87,10 @@
#define is_traced(p) ((p)->trace_flags == FLAG_NO_TRACE ? (trace_flags & TRACE_ALL) : (p)->trace_flags)
extern ndptr macro_getbuiltin(const char *);
+#ifdef REAL_FREEZE
+extern void dump_state(FILE *);
+extern void restore_state(FILE *);
+#endif
/* main.c */
extern void outputstr(const char *);
@@ -165,6 +173,12 @@
extern char **m4wraps; /* m4wrap string default. */
extern int maxwraps; /* size of m4wraps array */
extern int wrapindex; /* current index in m4wraps */
+extern int fatal_warnings; /* exit on warning */
+extern int quiet; /* no warnings */
+#ifndef REAL_FREEZE
+extern FILE *freezef; /* copy of input */
+extern int thawing; /* don't process includes during thaw */
+#endif
extern const char *null; /* as it says.. just a null. */
extern char rquote[MAXCCHARS+1];/* right quote character (') */
Home |
Main Index |
Thread Index |
Old Index