From a008c8254cd52ac4046fb32ca19540c751bf393c Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 17 Jan 2021 06:42:21 +0100 Subject: [PATCH] parser: comptime: update tmpl_path --- vlib/v/parser/comptime.v | 2 -- 1 file changed, 2 deletions(-) diff --git a/vlib/v/parser/comptime.v b/vlib/v/parser/comptime.v index 17e42b2f5c..26f4adf37b 100644 --- a/vlib/v/parser/comptime.v +++ b/vlib/v/parser/comptime.v @@ -156,12 +156,10 @@ fn (mut p Parser) comp_call() ast.ComptimeCall { println('\n\n') } mut file := parse_comptime(v_code, p.table, p.pref, scope, p.global_scope) - /* file = ast.File{ ...file path: tmpl_path } - */ // copy vars from current fn scope into vweb_tmpl scope for stmt in file.stmts { if stmt is ast.FnDecl {