m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/modules/gnu.c,v


From: Eric Blake
Subject: Changes to m4/modules/gnu.c,v
Date: Thu, 31 Aug 2006 03:21:38 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/08/31 03:21:36

Index: modules/gnu.c
===================================================================
RCS file: /sources/m4/m4/modules/gnu.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- modules/gnu.c       28 Aug 2006 12:48:54 -0000      1.52
+++ modules/gnu.c       31 Aug 2006 03:21:35 -0000      1.53
@@ -194,8 +194,7 @@
        case '7': case '8': case '9':
          ch -= '0';
          if (buf->pat.re_nsub < ch)
-           m4_warn (context, 0,
-                    _("Warning: %s: sub-expression %d not present"),
+           m4_warn (context, 0, _("%s: sub-expression %d not present"),
                     caller, ch);
          else if (buf->regs.end[ch] > 0)
            obstack_grow (obs, victim + buf->regs.start[ch],
@@ -203,8 +202,7 @@
          break;
 
        case '\0':
-         m4_warn (context, 0,
-                  _("Warning: %s: trailing \\ ignored in replacement"),
+         m4_warn (context, 0, _("%s: trailing \\ ignored in replacement"),
                   caller);
          return;
 
@@ -325,7 +323,7 @@
   bp = m4_builtin_find_by_name (NULL, name);
 
   if (bp == NULL)
-    m4_error (context, 0, 0, _("%s: undefined builtin `%s'"), M4ARG (0), name);
+    m4_warn (context, 0, _("%s: undefined builtin `%s'"), M4ARG (0), name);
   else if (!m4_bad_argc (context, argc - 1, argv + 1,
                         bp->min_args, bp->max_args,
                         (bp->flags & M4_BUILTIN_SIDE_EFFECT) != 0))
@@ -507,7 +505,7 @@
   m4_symbol *  symbol = m4_symbol_lookup (M4SYMTAB, name);
 
   if (symbol == NULL)
-    m4_error (context, 0, 0, _("%s: undefined macro `%s'"), M4ARG (0), name);
+    m4_warn (context, 0, _("%s: undefined macro `%s'"), M4ARG (0), name);
   else
     m4_macro_call (context, symbol, obs, argc - 1, argv + 1);
 }
@@ -742,6 +740,5 @@
               && (arg[1] == 'n' || arg[1] == 'N')))
     m4_set_sync_output_opt (context, true);
   else
-    m4_warn (context, 0, _("Warning: %s: unknown directive `%s'"),
-            M4ARG (0), arg);
+    m4_warn (context, 0, _("%s: unknown directive `%s'"), M4ARG (0), arg);
 }




reply via email to

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