This commit is contained in:
Juergen Spitzmueller 2020-03-14 09:51:07 +01:00
parent 02d2e4aa32
commit 037b1e1478

View File

@ -910,16 +910,9 @@ int LaTeX::scanLogFile(TeXErrors & terr)
//If label is too long pdlaftex log line splitting will make the above fail //If label is too long pdlaftex log line splitting will make the above fail
//so we catch at least this generic statement occuring for both CIT & REF. //so we catch at least this generic statement occuring for both CIT & REF.
} else if (!runparams.includeall && contains(token, "There were undefined references.")) { } else if (!runparams.includeall && contains(token, "There were undefined references.")) {
if (!(retval & UNDEF_CIT)) { //if not handled already if (!(retval & UNDEF_CIT)) //if not handled already
if (regex_match(token, sub, undef_ref)) {
string const ref = sub.str(1);
Buffer const * buf = theBufferList().getBufferFromTmp(file.absFileName());
if (!buf || !buf->masterBuffer()->activeLabel(from_utf8(ref)))
retval |= UNDEF_UNKNOWN_REF;
}
retval |= UNDEF_REF; retval |= UNDEF_REF;
} }
}
} else if (prefixIs(token, "Package")) { } else if (prefixIs(token, "Package")) {
// Package warnings // Package warnings