agaffney/puppet-parser — pull request #1 by floatingatoll (2012-11-09 21:24:30+00:00)
Title: move NOMATCH earlier in the token list so it works

I was having trouble parsing a MANIFEST, with the error unknown token "~ ". I moved NOMATCH earlier in the @tokens array so that it matches before the NOT token matches, so that instead of matching NOT and then showing "~ ", it matches "!~" correctly.