summaryrefslogtreecommitdiff
path: root/libmailutils
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-04-18 17:04:12 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-04-18 17:04:12 +0300
commit3c515d9acabb47bce5c60d997cf9ded5ff3cdfc7 (patch)
treed949a9b74adaedfcb8ecfd7e89ccb380dbca2173 /libmailutils
parentd1b31f6a5285a862f71628c935581d19217db5e9 (diff)
downloadmailutils-3c515d9acabb47bce5c60d997cf9ded5ff3cdfc7.tar.gz
mailutils-3c515d9acabb47bce5c60d997cf9ded5ff3cdfc7.tar.bz2
Bugfix in the configuration file lexer.
String values like the following caused failure: "foo \ bar \ baz \ qux" The second and third physical lines would not be recognized by the scanner. The bug was due to a long-standing copy-paste error.
Diffstat (limited to 'libmailutils')
-rw-r--r--libmailutils/cfg/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmailutils/cfg/lexer.l b/libmailutils/cfg/lexer.l
index 7c43acb33..600a4f0ae 100644
--- a/libmailutils/cfg/lexer.l
+++ b/libmailutils/cfg/lexer.l
@@ -129,7 +129,7 @@ P [1-9][0-9]*
_mu_line_begin ();
_mu_line_add_unescape_last (yytext + 1, yyleng - 1); }
<STR>[^\\"\n]*\\. |
-<STR>\"[^\\"\n]*\\\n { _mu_line_add_unescape_last (yytext, yyleng); }
+<STR>[^\\"\n]*\\\n { _mu_line_add_unescape_last (yytext, yyleng); }
<STR>[^\\"\n]*\" { BEGIN (INITIAL);
if (yyleng > 1)
_mu_line_add (yytext, yyleng - 1);

Return to:

Send suggestions and report system problems to the System administrator.