[LyX/master] thinko
Juergen Spitzmueller
spitz at lyx.org
Sat Mar 14 08:32:43 UTC 2020
commit 037b1e14789223c89e88e8bd74baffa4d0956571
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Mar 14 09:51:07 2020 +0100
thinko
---
src/LaTeX.cpp | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index 0401e64..f0017c8 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -910,15 +910,8 @@ int LaTeX::scanLogFile(TeXErrors & terr)
//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.
} else if (!runparams.includeall && contains(token, "There were undefined references.")) {
- 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;
- }
+ if (!(retval & UNDEF_CIT)) //if not handled already
retval |= UNDEF_REF;
- }
}
} else if (prefixIs(token, "Package")) {
More information about the lyx-cvs
mailing list