summaryrefslogtreecommitdiff
path: root/scan.l
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-04 18:18:16 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-04 18:18:16 -0800
commitb8577c30fcc6e962e341f5ab3402197cd9bb1124 (patch)
tree8763ee3a7cbbb0e614b4a807931bebe8a164c395 /scan.l
parentc29d6e204b4dfe99a2f08c258652823e4c26c324 (diff)
downloadflex-b8577c30fcc6e962e341f5ab3402197cd9bb1124.tar.gz
flex-b8577c30fcc6e962e341f5ab3402197cd9bb1124.tar.bz2
flex-b8577c30fcc6e962e341f5ab3402197cd9bb1124.zip
Imported Upstream version 2.5.37upstream/2.5.37
Diffstat (limited to 'scan.l')
-rw-r--r--scan.l10
1 files changed, 5 insertions, 5 deletions
diff --git a/scan.l b/scan.l
index 2315876..1bcb09b 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';
@@ -883,7 +883,7 @@ nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */
}
}
- {M4QSTART} ACTION_ECHO_QEND;
+ {M4QSTART} ACTION_ECHO_QSTART;
{M4QEND} ACTION_ECHO_QEND;
. ACTION_ECHO;
{NL} {
@@ -906,7 +906,7 @@ nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */
<ACTION>{
"{" ACTION_ECHO; ++bracelevel;
"}" ACTION_ECHO; --bracelevel;
- {M4QSTART} ACTION_ECHO_QEND;
+ {M4QSTART} ACTION_ECHO_QSTART;
{M4QEND} ACTION_ECHO_QEND;
[^[:alpha:]_{}"'/\n\[\]]+ ACTION_ECHO;
[\[\]] ACTION_ECHO;