Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop looping to do nothing, just pass. | Neal Norwitz | 2005-11-25 | 1 | -2/+2 |
| | |||||
* | Last set of change to get regression tests to pass | Jeremy Hylton | 2001-09-17 | 1 | -4/+5 |
| | | | | | | | | | | | Remove the only test in the syntax module. It ends up that the transformer must handle this error case. In the transformer, check for a list compression in com_assign_list() by looking for a list_for node where a comma is expected. In pycodegen.compile() re-raise the SyntaxError rather than catching it and exiting | ||||
* | Handle more syntax errors. | Jeremy Hylton | 2001-09-17 | 1 | -0/+45 |
Invoke compiler.syntax.check() after building AST. If a SyntaxError occurs, print the error and exit without generating a .pyc file. Refactor code to use compiler.misc.set_filename() rather than passing filename argument around to each CodeGenerator instance. |