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:
@@ -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)();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user