Resets lineno with new file
authorteodor <teodor>
Wed, 15 Oct 2008 15:22:31 +0000 (15:22 +0000)
committerteodor <teodor>
Wed, 15 Oct 2008 15:22:31 +0000 (15:22 +0000)
tmpl_scan.l

index fdfec53..c004c8a 100644 (file)
@@ -224,6 +224,7 @@ startTemplateLex(Template tmpl, FILE *in) {
 
        lexContext = tmpl->templateContext;
 
+       yylineno=1;
        yyrestart(in);
        BEGIN INITIAL;
 }