Skip to content

Commit 440c961

Browse files
committed
Fix error in INCLUSIVE
1 parent a3ef4dc commit 440c961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aux/aux_compile_line.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ void compile_line(vector<string> &tokens, compiler_state &state)
452452
string var = get_c_variable(state, tokens[1]);
453453
string from = get_c_expression(state, tokens[3]);
454454
string to = get_c_expression(state, tokens[5]);
455-
string step = get_c_expression(state, tokens[7]);
455+
string step = get_c_expression(state, tokens[8]);
456456
string init = var + " = " + from;
457457
string condition =
458458
step + " >= 0 ? " + var + " <= " + to + " : " + var + " >= " + to;

0 commit comments

Comments
 (0)