From: Will Estes Date: Fri, 3 Feb 2012 21:44:33 +0000 (+0000) Subject: Greater specificity in error messages X-Git-Tag: flex-2-5-36~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e347c5dd0d44bc1f5ffb159d4c22b6a2b31fb936;p=flex Greater specificity in error messages --- 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';