[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06-argc-mismatches.patch
From: |
Akim Demaille |
Subject: |
06-argc-mismatches.patch |
Date: |
Mon, 01 Oct 2001 09:39:05 +0200 |
I'm waiting for an approval/disapproval for this one.
Index: ChangeLog
from Akim Demaille <address@hidden>
* m4/utility.c (m4_bad_argc): Detail the mismatches.
Index: m4/utility.c
--- m4/utility.c Sat, 29 Sep 2001 18:48:17 +0200 akim
+++ m4/utility.c Sun, 30 Sep 2001 14:24:48 +0200 akim
@@ -109,16 +109,16 @@
if (min > 0 && argc < min)
{
M4WARN ((warning_status, 0,
- _("Warning: %s: too few arguments"),
- M4_SYMBOL_TEXT (name)));
+ _("Warning: %s: too few arguments: %d < %d"),
+ M4_SYMBOL_TEXT (name), argc, min));
return TRUE;
}
if (max > 0 && argc > max)
{
M4WARN ((warning_status, 0,
- _("Warning: %s: too many arguments (ignored)"),
- M4_SYMBOL_TEXT (name)));
+ _("Warning: %s: too many arguments (ignored): %d > %d"),
+ M4_SYMBOL_TEXT (name), argc, max));
/* Return FALSE, otherwise it is not exactly `ignored'. */
return FALSE;
}
- 06-argc-mismatches.patch,
Akim Demaille <=