aboutsummaryrefslogtreecommitdiffstats
path: root/lib/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/scanner.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/scanner.l b/lib/scanner.l
index 2703eb6..fb467cf 100644
--- a/lib/scanner.l
+++ b/lib/scanner.l
@@ -117,6 +117,7 @@ include_open ^[ \t]*@include[ \t]+\"
0 };
scanctx_append_string(yyextra, c);
}
+<STRING>\\ { scanctx_append_string(yyextra, "\\"); }
<STRING>\" {
yylval->sval = scanctx_take_string(yyextra);
BEGIN INITIAL;