Permalink
Browse files

Merge pull request #182 from isomarcte/fixTypoInReadme

Fix typo in `README.rst`
  • Loading branch information...
sirthias committed Jan 11, 2018
2 parents d7ad77a + 9058ce7 commit 471fbaba595f0591920f970d7ca5dff7650c3446
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rst
View
@@ -591,7 +591,7 @@ a ~> (...)
It can be applied to any rule and appends action logic to it. The argument to ``~>`` is always a function, what
functions are allowed and what the resulting rule type is depends on the type of ``a``.
The basic idea is that the input of the function is popped of the value stack and the result of the function is
The basic idea is that the input of the function is popped off the value stack and the result of the function is
pushed back onto it. In its basic form the ``~>`` operator therefore transforms the top elements of the value stack
into some other object(s).
@@ -1185,7 +1185,7 @@ As an example, consider this very basic parser:
class MyParser(val input: ParserInput) extends Parser {
def InputLine = rule { "foo" | "bar" }
}
new MyParser("foo").InputLine.run() // Success
new MyParser("foot").InputLine.run() // also Success!!

0 comments on commit 471fbab

Please sign in to comment.