aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ast/parser.go')
-rw-r--r--pkg/ast/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ast/parser.go b/pkg/ast/parser.go
index 3f3feda9e..025c5dcc2 100644
--- a/pkg/ast/parser.go
+++ b/pkg/ast/parser.go
@@ -67,7 +67,7 @@ func ParseGlob(glob string, errorHandler ErrorHandler) *Description {
errorHandler(Pos{}, fmt.Sprintf("failed to read input file: %v", err))
return nil
}
- desc1 := Parse(data, filepath.Base(f), errorHandler)
+ desc1 := Parse(data, f, errorHandler)
if desc1 == nil {
desc = nil
}