From def1459d58bd7c362c626ca2307d83bf576e9dce Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sun, 22 May 2022 11:31:33 +0900 Subject: Allows a directory to be specified as the --output option for the vartan-compile command --- driver/conflict_test.go | 2 +- driver/lac_test.go | 2 +- driver/parser_test.go | 2 +- driver/semantic_action_test.go | 2 +- driver/syntax_error_test.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'driver') diff --git a/driver/conflict_test.go b/driver/conflict_test.go index 1a1199b..93a8111 100644 --- a/driver/conflict_test.go +++ b/driver/conflict_test.go @@ -499,7 +499,7 @@ assign: '='; t.Fatal(err) } - cg, err := grammar.Compile(g) + cg, _, err := grammar.Compile(g) if err != nil { t.Fatal(err) } diff --git a/driver/lac_test.go b/driver/lac_test.go index e612b13..d850e9b 100644 --- a/driver/lac_test.go +++ b/driver/lac_test.go @@ -56,7 +56,7 @@ d: 'd'; t.Fatal(err) } - gram, err := grammar.Compile(g) + gram, _, err := grammar.Compile(g) if err != nil { t.Fatal(err) } diff --git a/driver/parser_test.go b/driver/parser_test.go index 65958bc..bec6a51 100644 --- a/driver/parser_test.go +++ b/driver/parser_test.go @@ -740,7 +740,7 @@ bar: 'bar'; t.Fatal(err) } - cg, err := grammar.Compile(g) + cg, _, err := grammar.Compile(g) if err != nil { t.Fatal(err) } diff --git a/driver/semantic_action_test.go b/driver/semantic_action_test.go index d0e769e..d480a0a 100644 --- a/driver/semantic_action_test.go +++ b/driver/semantic_action_test.go @@ -194,7 +194,7 @@ char t.Fatal(err) } - gram, err := grammar.Compile(g) + gram, _, err := grammar.Compile(g) if err != nil { t.Fatal(err) } diff --git a/driver/syntax_error_test.go b/driver/syntax_error_test.go index c49d804..a004a44 100644 --- a/driver/syntax_error_test.go +++ b/driver/syntax_error_test.go @@ -126,7 +126,7 @@ c t.Fatal(err) } - gram, err := grammar.Compile(g) + gram, _, err := grammar.Compile(g) if err != nil { t.Fatal(err) } -- cgit v1.2.3