mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* LaTeX.cpp (deplog):
- fix regex so that rexeg_search finds more than one match in a line. This fixes a bug where files which were output in the log file in a line which already listed another file were not dependency tracked. I.e., cases such as (./child1.tex) (./child2.tex) (bug 6024). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30198 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3830bd3dba
commit
5f7c6b8964
@ -1025,7 +1025,7 @@ void LaTeX::deplog(DepTable & head)
|
||||
// where "File: file.ext" would be skipped
|
||||
if (regex_match(token, sub, reg6)) {
|
||||
// search for strings in (...)
|
||||
static regex reg6_1("\\(([^()]+)(.).*");
|
||||
static regex reg6_1("\\(([^()]+)(.)");
|
||||
smatch what;
|
||||
string::const_iterator first = token.begin();
|
||||
string::const_iterator end = token.end();
|
||||
|
Loading…
Reference in New Issue
Block a user