From a866d2e1a9e5735c40d785d2bd9c7a2b9baaa022 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 10 Mar 2010 16:58:20 +0000 Subject: [PATCH] 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 --- src/mathed/MathFactory.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2