Skip to content

Commit ff427d3

Browse files
authored
Fix mistake in README section for Grammar
1 parent 337ff93 commit ff427d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ interface Item
219219
class Number(val value: Int) : Item
220220
class Variable(val name: String) : Item
221221
222-
object ItemsParser : Grammar<Item>() {
222+
object ItemsParser : Grammar<List<Item>>() {
223223
val num by token("\\d+")
224224
val word by token("[A-Za-z]")
225225
val comma by token(",\\s+")

0 commit comments

Comments
 (0)