-
Notifications
You must be signed in to change notification settings - Fork 54
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
Bython modifies braces within strings. #30
Comments
From the issue I can tell no good grammar tree is build for braces analysis, it's no good to rely on the project. |
+1 |
Old issue but I wrote this and maybe it will work better for you, if you still want it |
++ (i.e +1)
Raises this error:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bython v0.8 exhibits a problem in which it modifies braces within single and double quotation strings.
Code to reproduce:
test.by:
print('Hello, world! I have braces {} here.');
print("Hello, world! I have braces {} here, too.");
The output produced is:
Hello, world! I have braces:here.
Hello, world! I have braces:here, too.
The expected output is, of course:
Hello, world! I have braces {} here.
Hello, world! I have braces {} here, too.
Thanks!
The text was updated successfully, but these errors were encountered: