parsekit
parsekit copied to clipboard
Disable NSTextView substitutions.
Substitutions like smart quotes mangle both typed and pasted grammars, causing the app to crash on what would otherwise be valid input.
This is a fix for mysterious crashes in ParserGenApp that seem to affect some and not others. The source of the problem is automatic text substitutions which are globally (en | dis) abled via SystemPreferences. I tracked down a crash in my grammar due to smart quotes mangling literals like '('.