diff --git a/doc/en/grammar.en.rdoc b/doc/en/grammar.en.rdoc index a2f9d939..def15b11 100644 --- a/doc/en/grammar.en.rdoc +++ b/doc/en/grammar.en.rdoc @@ -131,8 +131,8 @@ Racc supports Bison's "expect" directive to declare the expected number of shift/reduce conflicts. -- class MyParser -rule expect 3 +rule : : -- diff --git a/doc/en/grammar2.en.rdoc b/doc/en/grammar2.en.rdoc index af10803f..8e9b9ddf 100644 --- a/doc/en/grammar2.en.rdoc +++ b/doc/en/grammar2.en.rdoc @@ -127,8 +127,8 @@ Racc has bison's "expect" directive. # Example class MyParser - rule expect 3 + rule : :