mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
de-indent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19947 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
795d4ba423
commit
bf728ca386
@ -92,28 +92,28 @@ bool ModuleList::load() {
|
|||||||
default:
|
default:
|
||||||
string const modName = lex.getString();
|
string const modName = lex.getString();
|
||||||
LYXERR(Debug::TCLASS) << "Module name: " << modName << endl;
|
LYXERR(Debug::TCLASS) << "Module name: " << modName << endl;
|
||||||
if (lex.next()) {
|
if (!lex.next())
|
||||||
string const fname = lex.getString();
|
break;
|
||||||
LYXERR(Debug::TCLASS) << "Filename: " << fname << endl;
|
string const fname = lex.getString();
|
||||||
if (lex.next()) {
|
LYXERR(Debug::TCLASS) << "Filename: " << fname << endl;
|
||||||
string const desc = lex.getString();
|
if (!lex.next())
|
||||||
LYXERR(Debug::TCLASS) << "Description: " << desc << endl;
|
break;
|
||||||
//FIXME Add packages
|
string const desc = lex.getString();
|
||||||
if (lex.next()) {
|
LYXERR(Debug::TCLASS) << "Description: " << desc << endl;
|
||||||
string packages = lex.getString();
|
//FIXME Add packages
|
||||||
LYXERR(Debug::TCLASS) << "Packages: " << packages << endl;
|
if (!lex.next())
|
||||||
vector<string> pkgs;
|
break;
|
||||||
while (!packages.empty()) {
|
string packages = lex.getString();
|
||||||
string p;
|
LYXERR(Debug::TCLASS) << "Packages: " << packages << endl;
|
||||||
packages = support::split(packages, p, ',');
|
vector<string> pkgs;
|
||||||
pkgs.push_back(p);
|
while (!packages.empty()) {
|
||||||
}
|
string p;
|
||||||
// This code is run when we have
|
packages = support::split(packages, p, ',');
|
||||||
// modName, fname, desc, and pkgs
|
pkgs.push_back(p);
|
||||||
addLayoutModule(modName, fname, desc, pkgs);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
// This code is run when we have
|
||||||
|
// modName, fname, desc, and pkgs
|
||||||
|
addLayoutModule(modName, fname, desc, pkgs);
|
||||||
} // end switch
|
} // end switch
|
||||||
} //end while
|
} //end while
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user