2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-18 02:12:09 +00:00

function/lazy_prelude.hpp Correction

This commit is contained in:
John Fletcher
2015-03-02 11:45:08 +00:00
parent 5f30643735
commit 35e3c9ce3b

View File

@@ -301,10 +301,10 @@ namespace boost {
while( !null( tail(l)() )() ) {
l = tail(l)();
++x;
if (x > BOOST_PHOENIX_FUNCTION_MAX_LIST_LENGTH)
if (x > BOOST_PHOENIX_FUNCTION_MAX_LAZY_LIST_LENGTH)
break;
}
if (x > BOOST_PHOENIX_FUNCTION_MAX_LIST_LENGTH)
if (x > BOOST_PHOENIX_FUNCTION_MAX_LAZY_LIST_LENGTH)
throw lazy_exception("Your list is too long!!");
return head(l)();
}