Message6955

Author smokxx
Recipients smokxx
Date 2012-03-22.10:00:02
SpamBayes Score 0.0013145383
Marked as misclassified No
Message-id <1332410403.07.0.469298606601.issue1866@psf.upfronthosting.co.za>
In-reply-to
Content
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] }
History
Date User Action Args
2012-03-22 10:00:03smokxxsetrecipients: + smokxx
2012-03-22 10:00:03smokxxsetmessageid: <1332410403.07.0.469298606601.issue1866@psf.upfronthosting.co.za>
2012-03-22 10:00:02smokxxlinkissue1866 messages
2012-03-22 10:00:02smokxxcreate