aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/exttmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/exttmpl')
-rw-r--r--cmd/exttmpl/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/exttmpl/main.go b/cmd/exttmpl/main.go
index 9211a88..c120ad2 100644
--- a/cmd/exttmpl/main.go
+++ b/cmd/exttmpl/main.go
@@ -120,7 +120,7 @@ func process(path string) {
currentPath = path
currentFile = try2(os.ReadFile(path))
trees := make(map[string]*parse.Tree)
- t := parse.New("name")
+ t := parse.New(path)
t.Mode |= parse.ParseComments | parse.SkipFuncCheck
try2(t.Parse(string(currentFile), "", "", trees))
for _, t := range trees {