diff options
Diffstat (limited to 'grammar/follow_test.go')
-rw-r--r-- | grammar/follow_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/grammar/follow_test.go b/grammar/follow_test.go index af3f064..719582f 100644 --- a/grammar/follow_test.go +++ b/grammar/follow_test.go @@ -22,7 +22,7 @@ func TestFollowSet(t *testing.T) { { caption: "productions contain only non-empty productions", src: ` -%name test +#name test; expr : expr add term @@ -52,7 +52,7 @@ id: "[A-Za-z_][0-9A-Za-z_]*"; { caption: "productions contain an empty start production", src: ` -%name test +#name test; s : @@ -66,7 +66,7 @@ s { caption: "productions contain an empty production", src: ` -%name test +#name test; s : foo @@ -84,7 +84,7 @@ foo { caption: "a start production contains a non-empty alternative and empty alternative", src: ` -%name test +#name test; s : foo @@ -100,7 +100,7 @@ foo: "foo"; { caption: "a production contains non-empty alternative and empty alternative", src: ` -%name test +#name test; s : foo |