Message6955
Example source:
def a main(argv):
pass
<EOF>
AnalyzingParser output (I added error reporting even if ast generation succeeded):
line 1:6 extraneous input 'main' expecting LPAREN
parse result:
Module(body=[FunctionDef],)
errors:
So BaseRecognizer reported error but it was not recorded.
Output with patch:
line 1:6 extraneous input 'main' expecting LPAREN
parse result:
Module(body=[FunctionDef],)
errors:
{ message [null], line [1], position [6] } |
|
Date |
User |
Action |
Args |
2012-03-22 10:00:03 | smokxx | set | recipients:
+ smokxx |
2012-03-22 10:00:03 | smokxx | set | messageid: <1332410403.07.0.469298606601.issue1866@psf.upfronthosting.co.za> |
2012-03-22 10:00:02 | smokxx | link | issue1866 messages |
2012-03-22 10:00:02 | smokxx | create | |
|