We really do not want id to change

This commit is contained in:
Richard Kimberly Heck 2020-09-28 22:20:22 -04:00
parent 594401912b
commit 003a267764

View File

@ -1151,8 +1151,10 @@ void Layout::readSpacing(Lexer & lex)
void Layout::readArgument(Lexer & lex, bool validating)
{
string id;
lex >> id;
if (!lex.next())
return;
string const id = lex.getString();
bool const itemarg = prefixIs(id, "item:");
bool const postcmd = prefixIs(id, "post:");
bool const listpreamble = prefixIs(id, "listpreamble:");