]> git.lyx.org Git - features.git/commitdiff
thinko
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Mar 2020 08:51:07 +0000 (09:51 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:54 +0000 (15:48 +0200)
src/LaTeX.cpp

index 0401e64ca5e59cf0fdafd72ec82aead6fcc3928e..f0017c83ae5abcc77c9fdcb530790364467910fc 100644 (file)
@@ -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")) {