Skip to content

Commit f3568d9

Browse files
author
luke
committed
Change type for is_for_loop from Rboolean to int.
git-svn-id: https://svn.r-project.org/R/trunk@87830 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 0f042a5 commit f3568d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/eval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7563,7 +7563,7 @@ static SEXP bcEval_loop(struct bcEval_locals *ploc)
75637563
OP(PRINTVALUE, 0): PrintValue(BCNPOP()); NEXT();
75647564
OP(STARTLOOPCNTXT, 2):
75657565
{
7566-
Rboolean is_for_loop = GETOP();
7566+
int is_for_loop = GETOP();
75677567
R_bcstack_t *oldtop = R_BCNodeStackTop;
75687568
RCNTXT *cntxt = BCNALLOC_CNTXT();
75697569
int break_offset = GETOP();
@@ -7610,7 +7610,7 @@ static SEXP bcEval_loop(struct bcEval_locals *ploc)
76107610
}
76117611
OP(ENDLOOPCNTXT, 1):
76127612
{
7613-
Rboolean is_for_loop = GETOP();
7613+
int is_for_loop = GETOP();
76147614
if (is_for_loop) {
76157615
int offset = GET_FOR_LOOP_BCPROT_OFFSET();
76167616
DECLNK_stack(R_BCNodeStackBase + offset);

0 commit comments

Comments
 (0)