Created
July 28, 2012 21:03
-
-
Save stepancheg/3194778 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib-clay/parsing/combinators/generic/generic.clay b/lib-clay/parsing/combinators/generic/generic.clay | |
index 24cac60..84a7c6d 100644 | |
--- a/lib-clay/parsing/combinators/generic/generic.clay | |
+++ b/lib-clay/parsing/combinators/generic/generic.clay | |
@@ -414,6 +414,6 @@ optSeparatedListStrict(#TokenInput, forward _separator:Separator, forward _eleme | |
alias T = ParseResult(TokenInput, Element); | |
return modify( | |
x => maybe(move(x), y => move(y), () => Vector[T]()), | |
- optional(separatedListStrict(_separator, _element)), | |
+ optional(TokenInput, separatedListStrict(TokenInput, _separator, _element)), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment