From: teodor Date: Wed, 15 Oct 2008 15:22:31 +0000 (+0000) Subject: Resets lineno with new file X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=9350eabf4bf1fa81129c2add01872b79398e6694;p=tedtools.git Resets lineno with new file --- 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; }