From e347c5dd0d44bc1f5ffb159d4c22b6a2b31fb936 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Fri, 3 Feb 2012 21:44:33 +0000 Subject: [PATCH] Greater specificity in error messages --- scan.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scan.l b/scan.l index 2315876..7569bd1 100644 --- a/scan.l +++ b/scan.l @@ -189,7 +189,7 @@ M4QEND "]]" } else { - synerr( _("Input line too long\n")); + synerr( _("Definition name too long\n")); FLEX_EXIT(EXIT_FAILURE); } @@ -297,7 +297,7 @@ M4QEND "]]" } else { - synerr( _("Input line too long\n")); + format_synerr( _("Definition value for {%s} too long\n"), nmstr); FLEX_EXIT(EXIT_FAILURE); } /* Skip trailing whitespace. */ @@ -440,7 +440,7 @@ M4QEND "]]" } else { - synerr( _("Input line too long\n")); + synerr( _("Option line too long\n")); FLEX_EXIT(EXIT_FAILURE); } nmstr[strlen( nmstr ) - 1] = '\0'; -- 2.40.0