m4-commit
[Top][All Lists]
Advanced

[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: Thu, 27 Jul 2006 13:29:34 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/07/27 13:29:32

Index: src/main.c
===================================================================
RCS file: /sources/m4/m4/src/main.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- src/main.c  22 Jul 2006 22:38:14 -0000      1.69
+++ src/main.c  27 Jul 2006 13:29:31 -0000      1.70
@@ -108,7 +108,7 @@
   -e, --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\
-  -r, --regexp-syntax=[SPEC]   change the default regexp syntax\n"),
+  -r, --regexp-syntax=SPEC     change the default regexp syntax\n"),
             stdout);
       fputs (_("\
 \n\
@@ -145,7 +145,7 @@
       fputs (_("\
 \n\
 Debugging:\n\
-  -d, --debug=[FLAGS]          set debug level (no FLAGS implies `aeq')\n\
+  -d, --debug[=FLAGS]          set debug level (no FLAGS implies `aeq')\n\
   -l, --arglength=NUM          restrict macro tracing size\n\
   -o, --error-output=FILE      redirect debug and trace output\n\
   -t, --trace=NAME             trace NAME when it will be defined\n"),
@@ -169,6 +169,11 @@
 \n\
 If no FILE or if FILE is `-', standard input is read.\n"),
             stdout);
+      fputs (_("\
+\n\
+Exit status is 0 for success, 1 for failure, 63 for frozen file version\n\
+mismatch, or whatever value was passed to the m4exit macro.\n\
+"), stdout);
 
       fputs (_("\nReport bugs to <address@hidden>.\n"), stdout);
     }
@@ -400,15 +405,7 @@
   m4_include_env_init (context);
 
   if (frozen_file_to_read)
-    {
-      int ch;
-
-      /* Take care not to mix frozen state with startup state.  */
-      for (ch = 256; --ch > 0;)
-       context->syntax->table[ch] = 0;
-
       reload_frozen_state (context, frozen_file_to_read);
-    }
   else
     {
       m4_module_load (context, "m4", 0);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]