Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partial Include statement path format support #55

Open
genius257 opened this issue Oct 26, 2024 · 0 comments
Open

partial Include statement path format support #55

genius257 opened this issue Oct 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@genius257
Copy link
Owner

genius257 commented Oct 26, 2024

Currently only relative include paths gets correctly resolved

using a mix of forward and backwards slashes in the path seems to work fine, but may break UNC paths if the special prefix gets changed to forward slashes \\?\. Testing will be needed.

partial paths ✅

#include <Array.au3>
#include "scriptA.au3"
#include "folder/scriptB.au3"

partial path edge case ❌

#include "c:scriptA.au3"
#include "c:folder/script.au3"
#include "d:AutoIt/scriptX.au3"

absolute paths ❌

#include "c:\users\John\Documents\AutoIt\scriptA.au3"
#include "\users\John\Documents\Autoit\scriptB.au3"
#include "\\?\c:\users\John\Documents\AutoIt\scriptC.au3"
@genius257 genius257 added the bug Something isn't working label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant