Jacek Caban (@jacek) commented about dlls/vbscript/compile.c:
if (expr->obj_expr) /* FIXME: we should probably have a dedicated opcode as well */ return compile_member_call_expression(ctx, expr, 0, TRUE);
- const_expr = lookup_const_decls(ctx, expr->identifier, TRUE);
- if(const_expr)
return compile_expression(ctx, const_expr);
- if (!lookup_args_name(ctx, expr->identifier)) {
Please don't use tab here. Also, while you're at it, we should check `lookup_dim_decls()` as well, see the [attached test](/uploads/dfd20e6064fdf258b2ad278d21b79c2e/test.diff).