]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:47 +0000 (14:39 +0200)
commitef326d83086a91db0f55f1af281ec7d8803d131c
tree4ffbf20b72fc83e135055beedf367f8c44a7b8b0
parent2dcc6355c30b19bfc3ce8b72d598674a7a7082ad
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