From 9350eabf4bf1fa81129c2add01872b79398e6694 Mon Sep 17 00:00:00 2001 From: teodor Date: Wed, 15 Oct 2008 15:22:31 +0000 Subject: [PATCH] Resets lineno with new file --- tmpl_scan.l | 1 + 1 file changed, 1 insertion(+) diff --git a/tmpl_scan.l b/tmpl_scan.l index fdfec53..c004c8a 100644 --- a/tmpl_scan.l +++ b/tmpl_scan.l @@ -224,6 +224,7 @@ startTemplateLex(Template tmpl, FILE *in) { lexContext = tmpl->templateContext; + yylineno=1; yyrestart(in); BEGIN INITIAL; } -- 2.37.3