-
Notifications
You must be signed in to change notification settings - Fork 26
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
Tabs in non formated print statements not working #76
Comments
You are certainly finding all the things we wouldn't even consider testing. |
That is the nice/annoying thing with beta testing. |
It is very much appreciated. |
Confirmed that this is still a bug. |
Albert, can you fix this? Can't be that hard… |
Yes, I can try. |
This seems to be an issue with the parsing library! The documentation for
and it seems to keep its promise - a string literal with a literal tab character (i.e. not I cannot get the formatted print string example to work either, so currently we don't support literal tabs (just as we don't support literal newlines) in string literals. Not sure if we should count this as bug or just a narrow minded grammar? I would be fine with closing this. On a related note, I like Python where you can go
|
Maybe I'm misunderstanding you, but I'd like to clarify that the string
but not
|
@EliasC |
So are you happy with the current functionality? :) |
Yes. The current functionality is satisfactory :) |
Then I'll close this issue, and anyone who is against it can re-open it! |
Using tabs in print statements does not work.
Having say
print(" lol")
orprint " lol"
where the spaces are a tab (\t
) will generate the following compiler error:unexpected "\""
.But.. It works if one uses a formatted print like this
print(" lol{}",1)
.The text was updated successfully, but these errors were encountered: