mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Read separated required arg without enquoting
This commit is contained in:
parent
97d596cda2
commit
3698281943
@ -1264,7 +1264,7 @@ void Layout::readArgument(Lexer & lex, bool validating)
|
||||
lex.next();
|
||||
arg.tooltip = lex.getDocString();
|
||||
} else if (tok == "requires") {
|
||||
lex.next();
|
||||
lex.eatLine();
|
||||
arg.required = lex.getString();
|
||||
} else if (tok == "decoration") {
|
||||
lex.next();
|
||||
|
@ -891,7 +891,7 @@ void InsetLayout::readArgument(Lexer & lex)
|
||||
lex.next();
|
||||
arg.tooltip = lex.getDocString();
|
||||
} else if (tok == "requires") {
|
||||
lex.next();
|
||||
lex.eatLine();
|
||||
arg.required = lex.getString();
|
||||
} else if (tok == "decoration") {
|
||||
lex.next();
|
||||
|
Loading…
Reference in New Issue
Block a user