]> git.armaanb.net Git - opendoas.git/commitdiff
increment the line number after the line continuation; ok tedu
authormikeb <mikeb>
Tue, 1 Sep 2015 16:20:55 +0000 (16:20 +0000)
committerDuncan Overbruck <mail@duncano.de>
Thu, 28 Jan 2021 18:56:02 +0000 (19:56 +0100)
parse.y

diff --git a/parse.y b/parse.y
index f4309a3d0db0b61b95542b6e2dd03e4c20e787d3..9ddca34e0a6431fef161d4856a8bdb7ebbc8dc94 100644 (file)
--- a/parse.y
+++ b/parse.y
@@ -278,6 +278,8 @@ repeat:
                        if (escape) {
                                nonkw = 1;
                                escape = 0;
+                               yylval.colno = 0;
+                               yylval.lineno++;
                                continue;
                        }
                        goto eow;