]> git.lyx.org Git - features.git/commit
Fix recursive math macro crash (bug #9140)
authorGeorg Baum <baum@lyx.org>
Fri, 14 Nov 2014 20:30:42 +0000 (21:30 +0100)
committerGeorg Baum <baum@lyx.org>
Fri, 14 Nov 2014 20:30:42 +0000 (21:30 +0100)
commit0f2069b8a5967aac1b4f841214294f1fe21d2cad
tree032856fe1ab6050f33d956e03e893309bb586211
parent0bf8b8a1d234c31cc2708e80e41c55dfefacec93
Fix recursive math macro crash (bug #9140)

This is different from bug #8999, since in this case a new macro instance is
created. You still get a TeX capacity exceeded error if you try to typeset the
exported document, but this is the same as for bug #8999 and better than a
crash.
src/mathed/MacroTable.cpp
src/mathed/MacroTable.h
src/mathed/MathMacro.cpp