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

Curtain escape chars used in #load* cause server to crash #487

Closed
blob1807 opened this issue Aug 24, 2024 · 1 comment
Closed

Curtain escape chars used in #load* cause server to crash #487

blob1807 opened this issue Aug 24, 2024 · 1 comment

Comments

@blob1807
Copy link
Contributor

If any of the following escape chars \e, \a, \v, or any 3 digit num >= 200 (written as \200) are in the path. The server will crash with no log output in VSCode. The complier is just fine with them.

package main

main :: proc() {
    buf := #load_directory("\a")
    data := #load("\256_palette.png")
    hash := #load_hash("\envs", "crc64")
}
@blob1807 blob1807 changed the title Curtain escape chars used in #load & #load_* cause server to crash Curtain escape chars used in #load* cause server to crash Aug 24, 2024
@DanielGavin
Copy link
Owner

Doesn't crash anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants