[Git][wine/wine][master] vbscript: Look up named items before builtin functions.
Alexandre Julliard pushed to branch master at wine / wine Commits: 40e4d192 by Francis De Brabandere at 2026-06-29T17:59:28+02:00 vbscript: Look up named items before builtin functions. A named item shadows a builtin function of the same name in native VBScript, so a host item named like a builtin, e.g. Trim, resolves to the item. Global members of host objects do not shadow builtins. Resolve visible named items before builtins in lookup_identifier, and cache a resolved builtin as an entry in the global namespace tree, alongside variables, functions and host properties. Subsequent lookups then find the builtin in the tree and skip the separate named item and builtin lookups, so no per-script shadow count is needed and a host with many named items pays the named item walk only until each builtin is cached. - - - - - 4 changed files: - dlls/vbscript/interp.c - dlls/vbscript/tests/run.c - dlls/vbscript/vbdisp.c - dlls/vbscript/vbscript.h View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/40e4d19235dd7ffdc121c0779ea63b3... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/40e4d19235dd7ffdc121c0779ea63b3... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)