aboutsummaryrefslogtreecommitdiff
path: root/grammar/lalr1_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/lalr1_test.go')
-rw-r--r--grammar/lalr1_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/grammar/lalr1_test.go b/grammar/lalr1_test.go
index 1cf8762..beb2707 100644
--- a/grammar/lalr1_test.go
+++ b/grammar/lalr1_test.go
@@ -10,6 +10,8 @@ import (
func TestGenLALR1Automaton(t *testing.T) {
// This grammar belongs to LALR(1) class, not SLR(1).
src := `
+%name test
+
S: L eq R | R;
L: ref R | id;
R: L;