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

Parenthesis inside of a string isn't ignored #145

Open
easysnipe opened this issue Dec 29, 2023 · 1 comment
Open

Parenthesis inside of a string isn't ignored #145

easysnipe opened this issue Dec 29, 2023 · 1 comment

Comments

@easysnipe
Copy link

I noticed that if you have a parenthesis inside a quote in causes undefined behavior and the parenthesis is treated as if it is not inside a quote.

Example:
(if (> 10 5) ")" "(")

Causes output 41 when it should be ")"

@easysnipe
Copy link
Author

I think this may be because 41 is the ASCII code for ) but when you add two parenthesis to the string it outputs 10537 which is strange, similar behavior occurs when you add different characters to the string.

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

1 participant