FuPeiJiang/ahk_parser.js

Try/finally with same-line action is misinterpreted

Opened this issue · 0 comments

try DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr")  ; old (no change needed)
try "DllCall(`"SetThreadDpiAwarenessContext`"", "`"ptr`"", "-3", "`"ptr`")"  ; new (incorrect)

else appears to be handled correctly, but finally has the same issue as above.