From: Richard Kimberly Heck Date: Tue, 29 Sep 2020 02:45:44 +0000 (-0400) Subject: Error message X-Git-Tag: lyx-2.4.0dev-acb2ca7b~150 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a41bcb3701ad0026054a7ce5e95ca090dc6132d6;p=features.git Error message --- diff --git a/src/Layout.cpp b/src/Layout.cpp index f3dfa4aa71..01c4f16286 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -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:");