don't reject empty Dict
This commit is contained in:
parent
43ee0e4d00
commit
7b21319edf
|
@ -262,12 +262,12 @@ struct DictInterpreter : Interpreter<ENV>
|
||||||
inline bool interpret (PARAM& param)
|
inline bool interpret (PARAM& param)
|
||||||
{
|
{
|
||||||
param.init ();
|
param.init ();
|
||||||
do
|
while (SUPER::env.substr.avail ())
|
||||||
{
|
{
|
||||||
OPSET::process_op (SUPER::env.fetch_op (), SUPER::env, param);
|
OPSET::process_op (SUPER::env.fetch_op (), SUPER::env, param);
|
||||||
if (unlikely (SUPER::env.in_error ()))
|
if (unlikely (SUPER::env.in_error ()))
|
||||||
return false;
|
return false;
|
||||||
} while (SUPER::env.substr.avail ());
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue