]> git.lyx.org Git - features.git/commit
tex2lyx: split huge else-if-clause
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 22 Aug 2018 16:49:16 +0000 (18:49 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 22 Aug 2018 16:49:16 +0000 (18:49 +0200)
commit30abecd437a166087f91421566e526d645e68210
treef9a84ecbadb78ad0575dc2ea3f9f786de86c34a4
parent6aef7081bfa60aac3fd410bc2193c19f49dd0f53
tex2lyx: split huge else-if-clause

Use a loop instead and break out after a condition is met. This prevents
problems on windows where the number of else-if-conditions is limited.
src/tex2lyx/text.cpp