[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/main.c,v
From: |
Eric Blake |
Subject: |
Changes to m4/src/main.c,v |
Date: |
Mon, 05 Feb 2007 17:31:12 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 07/02/05 17:31:10
Index: src/main.c
===================================================================
RCS file: /sources/m4/m4/src/main.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -b -r1.107 -r1.108
--- src/main.c 13 Jan 2007 13:55:37 -0000 1.107
+++ src/main.c 5 Feb 2007 17:31:10 -0000 1.108
@@ -87,7 +87,8 @@
fputs (_("\
-b, --batch buffer output, process interrupts\n\
-c, --discard-comments do not copy comments to the output\n\
- -E, --fatal-warnings stop execution after first warning or error\n\
+ -E, --fatal-warnings once: warnings become errors, twice: stop\n\
+ execution at first error\n\
-i, --interactive unbuffer output, ignore interrupts\n\
-P, --prefix-builtins force a `m4_' prefix to all builtins\n\
-Q, --quiet, --silent suppress some warnings for builtins\n\
@@ -460,6 +461,9 @@
break;
case 'E':
+ if (m4_get_fatal_warnings_opt (context))
+ m4_set_warnings_exit_opt (context, true);
+ else
m4_set_fatal_warnings_opt (context, true);
break;
- Changes to m4/src/main.c,v,
Eric Blake <=