Skip to content

Commit

Permalink
Fix mistake in README section for Grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tk3y authored Jul 12, 2017
1 parent 337ff93 commit ff427d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ interface Item
class Number(val value: Int) : Item
class Variable(val name: String) : Item
object ItemsParser : Grammar<Item>() {
object ItemsParser : Grammar<List<Item>>() {
val num by token("\\d+")
val word by token("[A-Za-z]")
val comma by token(",\\s+")
Expand Down

0 comments on commit ff427d3

Please sign in to comment.