#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;
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, ':');