Fix the parser so it doesn't silently fail. Speed up by using
pyparsing's packrat feature.
Authored by: mdboom 2007-08-21
Parent: [r3724]
Child: [r3726]