From 325d62b41c03f0530513a4f404cc8d7349b6885b Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 5 Mar 2019 23:08:54 +0100 Subject: Update vendor d5/tengo --- vendor/github.com/d5/tengo/compiler/parser/parse_source.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vendor/github.com/d5/tengo/compiler/parser/parse_source.go') diff --git a/vendor/github.com/d5/tengo/compiler/parser/parse_source.go b/vendor/github.com/d5/tengo/compiler/parser/parse_source.go index 5d242db4..5c71436d 100644 --- a/vendor/github.com/d5/tengo/compiler/parser/parse_source.go +++ b/vendor/github.com/d5/tengo/compiler/parser/parse_source.go @@ -12,5 +12,6 @@ func ParseSource(filename string, src []byte, trace io.Writer) (res *ast.File, e fileSet := source.NewFileSet() file := fileSet.AddFile(filename, -1, len(src)) - return ParseFile(file, src, trace) + p := NewParser(file, src, trace) + return p.ParseFile() } -- cgit v1.2.3