aboutsummaryrefslogtreecommitdiff
path: root/driver/semantic_action_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'driver/semantic_action_test.go')
-rw-r--r--driver/semantic_action_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/semantic_action_test.go b/driver/semantic_action_test.go
index 889016b..e36784d 100644
--- a/driver/semantic_action_test.go
+++ b/driver/semantic_action_test.go
@@ -48,6 +48,8 @@ func (a *testSemAct) MissError(cause *mldriver.Token) {
func TestParserWithSemanticAction(t *testing.T) {
specSrcWithErrorProd := `
+%name test
+
seq
: seq elem semicolon
| elem semicolon
@@ -65,6 +67,8 @@ char: "[a-z]";
`
specSrcWithoutErrorProd := `
+%name test
+
seq
: seq elem semicolon
| elem semicolon