From 2c9be716f7dc8ff97e796c04b3436cc1a530a8a3 Mon Sep 17 00:00:00 2001 From: Tyler Rhodes Date: Sun, 19 Aug 2018 17:30:58 -0700 Subject: [PATCH] Fix up participle integration point. --- spec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.go b/spec.go index e4e9ba8..675b108 100644 --- a/spec.go +++ b/spec.go @@ -266,7 +266,7 @@ func PreprocessSpec(file io.Reader, gcc Runner, includeFlags []string, defineFla func ParseSpec(r io.Reader) (*Spec, error) { log.Infof("Parsing spec") - parser, err := participle.Build(&SpecAst{}, nil) + parser, err := participle.Build(&SpecAst{}) if err != nil { return nil, err }