From 4f94dfde7cbe043dfeb11a8712636bac348d3177 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 7 Aug 2006 16:22:49 +0000 Subject: A bug in the lexer was causing the line count to be off by 3 for every line continuation token. --- src/build.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/build.l b/src/build.l index 2b834a2..3107431 100644 --- a/src/build.l +++ b/src/build.l @@ -46,7 +46,7 @@ std::string strbuf; "targets" return TOK_TARGETS; "..."\n { - yylloc->last_line += yyleng; + yylloc->last_line += 1; yylloc->first_line = yylloc->last_line; yylloc->first_column = yylloc->last_column = 0; } -- cgit v1.2.3