]> git.lyx.org Git - features.git/commit
parse_text (tex2lyx): get rid of the monstrous if-then-else clause
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 5 Mar 2018 08:08:14 +0000 (09:08 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 6 Mar 2018 07:20:44 +0000 (08:20 +0100)
commit95d446eb4c0bd3b42874564ba7487d366bf6b1dc
tree2169ee973663756ad7213cabb4d1da90be92b7a0
parent8d02bff57eaa2597609d7bf5c1fd5be90645f855
parse_text (tex2lyx): get rid of the monstrous if-then-else clause

Rather than that, continue in the loop if a condition is met.

This fixes tex2lyx for MINGW, which has a cluase-nesting threshold.

Fixes: #9552
(cherry picked from commit b94bb37e5310b9007ed812c58460a5292820c534)
src/tex2lyx/text.cpp