Skip to content

Commit

Permalink
Fix locations of expect param in docs
Browse files Browse the repository at this point in the history
`expect` can be placed before `rule` not in `rule`.
  • Loading branch information
yui-knk committed Nov 3, 2023
1 parent 13bdc92 commit a5efcd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/en/grammar.en.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
:
:
--
Expand Down
2 changes: 1 addition & 1 deletion doc/en/grammar2.en.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ Racc has bison's "expect" directive.
# Example

class MyParser
rule
expect 3
rule
:
:

Expand Down

0 comments on commit a5efcd0

Please sign in to comment.