chrisdickinson/glsl-parser — pull request #1 by hughsk (2014-04-04 21:13:17+00:00)
Title: Prevent infinite loop when catching errors.

If an error is caught, the parser's while loop would continue to run without advancing, as the return value of `take` would always be true.

By always returning false, parsing will stop when an error is raised, caught or otherwise.

Thanks! :)