m4-patches
[Top][All Lists]
Advanced

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

21-fyi-gettextize-internal.patch


From: Akim Demaille
Subject: 21-fyi-gettextize-internal.patch
Date: Sat, 13 Oct 2001 10:57:36 +0200

These guys are really asserts.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * src/main.c, src/freeze.c, m4/debug.c, m4/input.c, m4/macro.c:
        Don't gettextize internal error messages.

Index: src/freeze.c
--- src/freeze.c Sat, 13 Oct 2001 08:43:17 +0200 akim
+++ src/freeze.c Sat, 13 Oct 2001 10:43:38 +0200 akim
@@ -158,8 +158,8 @@

          if (bp == NULL)
            {
-             M4ERROR ((warning_status, 0, _("\
-INTERNAL ERROR: Builtin not found in builtin table!")));
+             M4ERROR ((warning_status, 0,
+                       "INTERNAL ERROR: Builtin not found in builtin table!"));
              abort ();
            }

@@ -180,8 +180,8 @@
          break;

        default:
-         M4ERROR ((warning_status, 0, _("\
-INTERNAL ERROR: Bad token data type in produce_symbol_dump ()")));
+         M4ERROR ((warning_status, 0,
+                   "INTERNAL ERROR: Bad token data type in produce_symbol_dump 
()"));
          abort ();
          break;
        }
Index: src/main.c
--- src/main.c Sat, 13 Oct 2001 08:43:17 +0200 akim
+++ src/main.c Sat, 13 Oct 2001 10:40:57 +0200 akim
@@ -453,7 +453,7 @@ Debugging:\n\

        default:
          M4ERROR ((warning_status, 0,
-                   _("INTERNAL ERROR: Bad code in deferred arguments")));
+                   "INTERNAL ERROR: Bad code in deferred arguments"));
          abort ();
        }

Index: m4/debug.c
--- m4/debug.c Sat, 13 Oct 2001 08:43:17 +0200 akim
+++ m4/debug.c Sat, 13 Oct 2001 10:43:06 +0200 akim
@@ -353,16 +353,16 @@
              bp = m4_builtin_find_by_func (NULL, TOKEN_FUNC (argv[i]));
              if (bp == NULL)
                {
-                 M4ERROR ((warning_status, 0, _("\
-INTERNAL ERROR: Builtin not found in builtin table! (m4_trace_pre ())")));
+                 M4ERROR ((warning_status, 0, "\
+INTERNAL ERROR: Builtin not found in builtin table! (m4_trace_pre ())"));
                  abort ();
                }
              m4_trace_format ("<%s>", bp->name);
              break;

            case M4_TOKEN_VOID:
-             M4ERROR ((warning_status, 0, _("\
-INTERNAL ERROR: Bad token data type (m4_trace_pre ())")));
+             M4ERROR ((warning_status, 0,
+                       "INTERNAL ERROR: Bad token data type (m4_trace_pre 
())"));
              abort ();
            }

Index: m4/input.c
--- m4/input.c Sat, 13 Oct 2001 10:39:44 +0200 akim
+++ m4/input.c Sat, 13 Oct 2001 10:40:26 +0200 akim
@@ -499,7 +499,7 @@
   if (next != NULL)
     {
       M4ERROR ((warning_status, 0,
-               _("INTERNAL ERROR: Recursive push_string!")));
+               "INTERNAL ERROR: Recursive push_string!"));
       abort ();
     }

@@ -603,7 +603,7 @@
   if (isp->funcs->read_func != macro_read)
     {
       M4ERROR ((warning_status, 0,
-               _("INTERNAL ERROR: Bad call to init_builtin_token ()")));
+               "INTERNAL ERROR: Bad call to init_builtin_token ()"));
       abort ();
     }

@@ -642,7 +642,7 @@
       else
        {
          M4ERROR ((warning_status, 0,
-                   _("INTERNAL ERROR: Input stack botch in next_char ()")));
+                   "INTERNAL ERROR: Input stack botch in next_char ()"));
          abort ();
        }

@@ -676,7 +676,7 @@
       else
        {
          M4ERROR ((warning_status, 0,
-                   _("INTERNAL ERROR: Input stack botch in m4_peek_input 
()")));
+                   "INTERNAL ERROR: Input stack botch in m4_peek_input ()"));
          abort ();
        }

Index: m4/macro.c
--- m4/macro.c Sat, 13 Oct 2001 10:39:44 +0200 akim
+++ m4/macro.c Sat, 13 Oct 2001 10:40:48 +0200 akim
@@ -89,7 +89,7 @@

     default:
       M4ERROR ((warning_status, 0,
-               _("INTERNAL ERROR: Bad token type in expand_token ()")));
+               "INTERNAL ERROR: Bad token type in expand_token ()"));
       abort ();
     }

@@ -169,8 +169,8 @@
          break;

        default:
-         M4ERROR ((warning_status, 0, _("\
-INTERNAL ERROR: Bad token type in expand_argument ()")));
+         M4ERROR ((warning_status, 0,
+                   "INTERNAL ERROR: Bad token type in expand_argument ()"));
          abort ();
        }

@@ -243,7 +243,7 @@

     case M4_TOKEN_VOID:
       M4ERROR ((warning_status, 0,
-               _("INTERNAL ERROR: Bad symbol type in call_macro ()")));
+               "INTERNAL ERROR: Bad symbol type in call_macro ()"));
       abort ();
     }
 }



reply via email to

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