]> git.lyx.org Git - lyx.git/commitdiff
Error message
authorRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 29 Sep 2020 02:45:44 +0000 (22:45 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 29 Sep 2020 02:45:44 +0000 (22:45 -0400)
src/Layout.cpp

index f3dfa4aa717f7f9df1a41cc263dde310b2ad7a98..01c4f1628657a1d07cac3af2fe11280e95efca97 100644 (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:");