aboutsummaryrefslogtreecommitdiff
path: root/src/bind-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/bind-lex.l')
-rw-r--r--src/bind-lex.l6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bind-lex.l b/src/bind-lex.l
index b0b8d61..1dd0ca0 100644
--- a/src/bind-lex.l
+++ b/src/bind-lex.l
@@ -94,12 +94,14 @@ P [1-9][0-9]*
\"[^\\"\n]*\\\n { BEGIN(STR);
grecs_line_begin();
grecs_line_acc_grow_unescape_last(yytext + 1,
- yyleng - 1); }
+ yyleng - 1,
+ &yylloc); }
\"[^\\"\n]*\n { BEGIN(STR);
grecs_line_begin();
grecs_line_acc_grow(yytext + 1, yyleng - 1); }
<STR>[^\\"\n]*\\. |
-<STR>\"[^\\"\n]*\\\n { grecs_line_acc_grow_unescape_last(yytext, yyleng); }
+<STR>\"[^\\"\n]*\\\n { grecs_line_acc_grow_unescape_last(yytext, yyleng,
+ &yylloc); }
<STR>[^\\"\n]*\n |
<STR>\"[^\\"\n]*\n { grecs_line_acc_grow(yytext, yyleng); }
<STR>[^\\"\n]*\" { BEGIN(INITIAL);

Return to:

Send suggestions and report system problems to the System administrator.