Skip to content

Commit b718418

Browse files
committed
opX in statement-list/
This improves type safety.
1 parent 7b03074 commit b718418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/statement-list/statement_list_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ static void find_instructions(
260260
for(const exprt &instruction_expr : instructions.operands())
261261
{
262262
statement_list_parse_treet::instructiont instruction;
263-
codet code_token(instruction_expr.op0().id());
263+
codet code_token(to_multi_ary_expr(instruction_expr).op0().id());
264264
for(const exprt &operand : instruction_expr.operands())
265265
{
266266
if(operand.is_not_nil() && operand.id() != code_token.get_statement())

0 commit comments

Comments
 (0)