Fix bug #6258: LyX incorrectly interprets tetex warnings as errors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31514 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-10-04 15:23:17 +00:00
parent 73a4394e97
commit b01b9b5e84

View File

@ -671,7 +671,9 @@ int LaTeX::scanLogFile(TeXErrors & terr)
retval |= RERUN;
}
} else if (prefixIs(token, "! ")
|| (fle_style && regex_match(token, sub, file_line_error))) {
|| (fle_style
&& regex_match(token, sub, file_line_error)
&& !contains(token, "pdfTeX warning"))) {
// Ok, we have something that looks like a TeX Error
// but what do we really have.