summaryrefslogtreecommitdiff
path: root/bpfix/cmd_lib/bpfix.go
diff options
context:
space:
mode:
Diffstat (limited to 'bpfix/cmd_lib/bpfix.go')
-rw-r--r--bpfix/cmd_lib/bpfix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpfix/cmd_lib/bpfix.go b/bpfix/cmd_lib/bpfix.go
index 1106d4af7..41430f8e4 100644
--- a/bpfix/cmd_lib/bpfix.go
+++ b/bpfix/cmd_lib/bpfix.go
@@ -66,7 +66,7 @@ func processFile(filename string, in io.Reader, out io.Writer, fixRequest bpfix.
return err
}
r := bytes.NewBuffer(append([]byte(nil), src...))
- file, errs := parser.Parse(filename, r, parser.NewScope(nil))
+ file, errs := parser.Parse(filename, r)
if len(errs) > 0 {
for _, err := range errs {
fmt.Fprintln(os.Stderr, err)