FOUND IT! I've no idea how this lead to a failure, worlds weirdest coincidence (variable must have been set to a valid grammar).
FOUND IT! I've no idea how this lead to a failure, worlds weirdest coincidence (variable must have been set to a valid grammar).

rule wasn't initialising m_LastGrammar. Which is only a problem if the value that was there before is already a grammar pointer, so this should have gone undetected.

(Sigh, can clang warn if a pointer isn't initialised by a C++ constructor? I can't think of many circumstances where this is actually what you'd want to do)

--HG--
branch : Parse
extra : convert_revision : svn%3A3666fe7e-a552-0410-bc3c-bd4e4c681ee0/trunk/Parse%401144

Logicalshift/TameParse,Logicalshift/TameParse,Logicalshift/TameParse,Logicalshift/TameParse