don't reject empty Dict

This commit is contained in:
Michiharu Ariza 2018-11-06 13:59:07 -08:00
parent 43ee0e4d00
commit 7b21319edf
1 changed files with 2 additions and 2 deletions

View File

@ -262,12 +262,12 @@ struct DictInterpreter : Interpreter<ENV>
inline bool interpret (PARAM& param)
{
param.init ();
do
while (SUPER::env.substr.avail ())
{
OPSET::process_op (SUPER::env.fetch_op (), SUPER::env, param);
if (unlikely (SUPER::env.in_error ()))
return false;
} while (SUPER::env.substr.avail ());
}
return true;
}