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(
1155
1155
// if there are too few arguments, add undefined
1156
1156
if (codet.parameters ().size ()>call.arguments ().size ())
1157
1157
{
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 )
1161
1161
call.arguments ().push_back (
1162
1162
exprt (" undefined" , jsil_undefined_type ()));
1163
1163
}
Original file line number Diff line number Diff line change @@ -393,10 +393,10 @@ atom_expression: literal
393
393
}
394
394
| TOK_TYPEOF ' (' expression ' )'
395
395
{
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 ));
398
398
399
- newstack ($$).swap (typeof );
399
+ newstack ($$).swap (typeof_expr );
400
400
}
401
401
;
402
402
You can’t perform that action at this time.
0 commit comments