-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
preparser bug involving backslash-to-continue line #1781
Comments
comment:1
The problem is not specific to the [..] notation, but that the preparser processes things one line at a time. For example
We abuse the \ notation to have the same matrix solving property as Matlab too, but within strings it should be fine. I've been meaning to refactors the preparsing to make it more efficient, and will fix bugs like this at the same time. |
comment:6
The error was fixed at some point (probably long ago). I put the given lines into a .sage file, and the corresponding .py file has a valid translation:
Also, the example in comment:1 now gives the same error as equivalent code without a line break.
|
Reviewer: Dima Pasechnik |
Component: user interface
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/1781
The text was updated successfully, but these errors were encountered: