mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
* indention fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22284 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
455b42f21a
commit
5636ca5dea
@ -462,9 +462,9 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla
|
||||
}
|
||||
|
||||
else if (t.cs() == "newcommand"
|
||||
|| t.cs() == "renewcommand"
|
||||
|| t.cs() == "providecommand"
|
||||
|| t.cs() == "newlyxcommand") {
|
||||
|| t.cs() == "renewcommand"
|
||||
|| t.cs() == "providecommand"
|
||||
|| t.cs() == "newlyxcommand") {
|
||||
bool star = false;
|
||||
if (p.next_token().character() == '*') {
|
||||
p.get_token();
|
||||
|
@ -2380,9 +2380,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
}
|
||||
|
||||
else if (t.cs() == "newcommand" ||
|
||||
t.cs() == "providecommand" ||
|
||||
t.cs() == "renewcommand" ||
|
||||
t.cs() == "newlyxcommand") {
|
||||
t.cs() == "providecommand" ||
|
||||
t.cs() == "renewcommand" ||
|
||||
t.cs() == "newlyxcommand") {
|
||||
// these could be handled by parse_command(), but
|
||||
// we need to call add_known_command() here.
|
||||
string name = t.asInput();
|
||||
|
Loading…
Reference in New Issue
Block a user