opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit 36cc28e4446e77ab4d8d48055e9715f1ae26c68e
parent 31abd37c26c26892ce5e0d538c51fbc38ff3e05a
Author: mikeb <mikeb>
Date:   Tue,  1 Sep 2015 16:20:55 +0000

increment the line number after the line continuation; ok tedu

Diffstat:
Mparse.y | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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;