]> git.lyx.org Git - lyx.git/blobdiff - src/Chktex.C
Support for \begin{math}
[lyx.git] / src / Chktex.C
index dd7b410b0296087c38cf69c942e3796a68e86929..1193c7590a72eb39c9ba92f13ef25b3dd2c75a4b 100644 (file)
 
 #include <config.h>
 
-#include <fstream>
-
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
 #include "Chktex.h"
 #include "LaTeX.h" // TeXErrors
-#include "support/filetools.h"
 #include "lyxlex.h"
-#include "support/FileInfo.h"
 #include "debug.h"
+#include "gettext.h"
+
+#include "support/FileInfo.h"
+#include "support/filetools.h"
 #include "support/syscall.h"
 #include "support/syscontr.h"
 #include "support/path.h"
-#include "gettext.h"
+#include "support/lstrings.h"
+
+#include <fstream>
 
 using std::ifstream;
 using std::getline;
@@ -68,7 +70,11 @@ int Chktex::scanLogFile(TeXErrors & terr)
 
        ifstream ifs(tmp.c_str());
        while (getline(ifs, token)) {
-               string srcfile, line, pos, warno, warning;
+               string srcfile;
+               string line;
+               string pos;
+               string warno;
+               string warning;
                token = split(token, srcfile, ':');
                token = split(token, line, ':');
                token = split(token, pos, ':');