The following two examples fail to compile, but work fine in real vbscript:
```
Dim x
x = 8
if x = 9 Then
Wscript.Echo "HERE1"
elseif x = 8 then Wscript.Echo "HERE2"
else
Wscript.Echo "HERE3"
end if
```
```
Dim x
x = 8
if x = 9 Then
Wscript.Echo "HERE1"
elseif x = 8 then
: Wscript.Echo "HERE2"
else
Wscript.Echo "HERE3"
end if
```
This was fixed similar using the same approach as https://gitlab.winehq.org/wine/wine/-/merge_requests/2142
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2188
The separate lists were added to avoid iterating device nodes if not necessary. I believe we don't need that anymore as we now keep the devices in a more efficient sequential array.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2207