]> git.lyx.org Git - features.git/commitdiff
Also catch "! Incomplete \\if"
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 15 Jun 2017 13:29:40 +0000 (15:29 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 15 Jun 2017 13:29:40 +0000 (15:29 +0200)
src/LaTeX.cpp

index f28ea344ebcffbf35a96874e1537818ffabacaf4..0a37d0392de1eb7673a622605456da85269d165c 100644 (file)
@@ -797,7 +797,7 @@ int LaTeX::scanLogFile(TeXErrors & terr)
                                }
                        }
 
-                       if (prefixIs(token, "! Incomplete \\ifx")) {
+                       if (prefixIs(token, "! Incomplete \\if")) {
                                // bug 10666. At this point its not clear we finish with error.
                                wait_for_error = desc;
                                continue;