From: Vincent van Ravesteijn Date: Wed, 10 Mar 2010 16:58:20 +0000 (+0000) Subject: Add missing continue. I guess I found this when running latex with a symbol file... X-Git-Tag: 2.0.0~3842 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a866d2e1a9e5735c40d785d2bd9c7a2b9baaa022;p=features.git Add missing continue. I guess I found this when running latex with a symbol file with some windows encoding or line-ends. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33698 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/MathFactory.cpp b/src/mathed/MathFactory.cpp index 4d91243fe6..34933a078a 100644 --- a/src/mathed/MathFactory.cpp +++ b/src/mathed/MathFactory.cpp @@ -134,6 +134,7 @@ void initSymbols() continue; } else if (line.size() >= 4 && line.substr(0, 4) == "else") { skip = !skip; + continue; } else if (line.size() >= 5 && line.substr(0, 5) == "endif") { skip = false; continue;