Error message

This commit is contained in:
Richard Kimberly Heck 2020-09-28 22:45:44 -04:00
parent 444285aca2
commit a41bcb3701

View File

@ -1151,8 +1151,10 @@ void Layout::readSpacing(Lexer & lex)
void Layout::readArgument(Lexer & lex, bool validating)
{
if (!lex.next())
if (!lex.next()) {
LYXERR0("Unable to read argument ID!");
return;
}
string const id = lex.getString();
bool const itemarg = prefixIs(id, "item:");