diff options
Diffstat (limited to 'driver/syntax_error_test.go')
-rw-r--r-- | driver/syntax_error_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/driver/syntax_error_test.go b/driver/syntax_error_test.go index 329ccef..93cf637 100644 --- a/driver/syntax_error_test.go +++ b/driver/syntax_error_test.go @@ -19,7 +19,7 @@ func TestParserWithSyntaxErrors(t *testing.T) { { caption: "the parser can report a syntax error", specSrc: ` -%name test +#name test; s : foo @@ -33,7 +33,7 @@ foo: 'foo'; { caption: "when the parser reduced a production having the reduce directive, the parser will recover from an error state", specSrc: ` -%name test +#name test; seq : seq elem ';' @@ -59,7 +59,7 @@ c { caption: "After the parser shifts the error symbol, symbols are ignored until a symbol the parser can perform shift appears", specSrc: ` -%name test +#name test; seq : seq elem ';' @@ -87,7 +87,7 @@ c { caption: "when the parser performs shift three times, the parser recovers from the error state", specSrc: ` -%name test +#name test; seq : seq elem ';' |