From: Matt S Trout Date: Mon, 17 Sep 2018 03:33:47 +0000 (+0000) Subject: remove last references to _nested_func_lhs X-Git-Tag: v2.000000~3^2~453 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3192e829b25f21a9ae5ff9f050474862d4934ab0;p=dbsrgits%2FSQL-Abstract.git remove last references to _nested_func_lhs --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index ebec784..87912b0 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -628,8 +628,7 @@ sub _expand_expr_hashpair { # top level special ops are illegal in general puke "Illegal use of top-level '-$op'" - if !(defined $self->{_nested_func_lhs}) - and List::Util::first { $op =~ $_->{regex} } @{$self->{special_ops}}; + if List::Util::first { $op =~ $_->{regex} } @{$self->{special_ops}}; } if ($k eq '-value' and my $m = our $Cur_Col_Meta) { return +{ -bind => [ $m, $v ] }; @@ -968,7 +967,6 @@ sub _render_op { my ($op, @args) = @$v; $op =~ s/^-// if length($op) > 1; $op = lc($op); - local $self->{_nested_func_lhs}; if (my $h = $special{$op}) { return $self->$h(\@args); }