dmajda/pegjs — pull request #146 by fresheneesz (2013-01-07 07:05:06+00:00)
Title: fix the cleanupExpected function

The cleanupExpected was not properly deduping exepected expressions.
Because the index was incremented even when a duplicate was removed,
only half of the duplicates were removed. Only incrementing when a duplicate is
not found solves this problem.