Skip to content

Commit

Permalink
Minor change in README
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmedeiros committed Feb 8, 2018
1 parent c540c78 commit 7ea177e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ print(mymatch(g, "a := 2; 6")) --> nil Error at line 1 (col 8): Error, expecti
### Caveats

Does not use the number **1** to specify a recovery rule,
since that this index is used to indicate the first rule
of a grammar.
since that the entry with index 1 in the grammar table defines
its initial rule.

In case your grammar has many regular and recovery rules,
you may get an error message such as grammar: <em>has too many rules</em>.
Expand Down

3 comments on commit 7ea177e

@knc1
Copy link

@knc1 knc1 commented on 7ea177e Feb 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Do not use the number 1 to specify a recovery rule."
"The entry with index 1 of the grammar table is used to define the initial rule."

@sqmedeiros
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. Sorry for the long delay. I will update the README.

@sqmedeiros
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed I have already merged your suggestion, but I had forgotten to reply you.

Please sign in to comment.