File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1155,9 +1155,9 @@ void jsil_typecheckt::typecheck_function_call(
11551155 // if there are too few arguments, add undefined
11561156 if (codet.parameters ().size ()>call.arguments ().size ())
11571157 {
1158- for (int i=call.arguments ().size ();
1159- i<codet.parameters ().size ();
1160- i++ )
1158+ for (std:: size_t i=call.arguments ().size ();
1159+ i<codet.parameters ().size ();
1160+ ++i )
11611161 call.arguments ().push_back (
11621162 exprt (" undefined" , jsil_undefined_type ()));
11631163 }
Original file line number Diff line number Diff line change @@ -393,10 +393,10 @@ atom_expression: literal
393393 }
394394 | TOK_TYPEOF ' (' expression ' )'
395395 {
396- exprt typeof (ID_typeof);
397- typeof .move_to_operands (stack ($3 ));
396+ exprt typeof_expr (ID_typeof);
397+ typeof_expr .move_to_operands (stack ($3 ));
398398
399- newstack ($$).swap (typeof );
399+ newstack ($$).swap (typeof_expr );
400400 }
401401 ;
402402
You can’t perform that action at this time.
0 commit comments