summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2014-09-26 17:31:58 -0500
committerCraig A. Berry <craigberry@mac.com>2014-09-26 17:31:58 -0500
commitb7ddc5bada637a1961bd44a02428c42f98955212 (patch)
treeea7c76b52ba019a3c0b43af99266242b7eab85d1 /toke.c
parent07efaa72c99996dca4a124f9c6084e8ee9fcc6d8 (diff)
downloadperl-b7ddc5bada637a1961bd44a02428c42f98955212.tar.gz
A little help for clang++ in toke.c
This was failing to compile with Apple LLVM version 6.0 like so: toke.c:6558:13: error: no member named 'Perl_rv2cv_op_cv' in 'gv'; did you mean simply 'Perl_rv2cv_op_cv'? : (CV *)gv ^~
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 8585b7ab1e..aeaeb46254 100644
--- a/toke.c
+++ b/toke.c
@@ -6555,7 +6555,7 @@ Perl_yylex(pTHX)
? GvCV(gv)
: SvROK(gv) && SvTYPE(SvRV(gv)) == SVt_PVCV
? (CV *)SvRV(gv)
- : (CV *)gv
+ : ((CV *)gv)
: rv2cv_op_cv(rv2cv_op, RV2CVOPCV_RETURN_STUB);
}