Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-choi committed May 30, 2009
1 parent a8ae2a9 commit f660cbc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/name/choi/joshua/fnparse.clj
Expand Up @@ -264,8 +264,9 @@
The new rule's products would be either the vector [b-product ...] for how many matches
of b were found. If there was no match, then nil is simply returned."
[subrule]
(complex [first-subproduct subrule
next-token remainder-peek
(complex [cur-remainder get-remainder
:when (seq cur-remainder)
first-subproduct subrule
rest-subproducts (rep* subrule)]
(cons first-subproduct rest-subproducts)))

Expand Down

0 comments on commit f660cbc

Please sign in to comment.