Saturday, April 27, 2013

RPN List – Error Storage

The RPN list class was storing the token where an error was detected, but it only really needed the column and length.  Therefore, the code was changed to only store the column and length of the error.

While these changes were being made and tested, translator test #14 (parser errors) failed because there were extra blank lines after error messages.  This extra blank line was left in so that the result files would not need to be changed, but this did not affect parser errors.  The output of the extra blank line was removed and expected results files were updated.

[commit fdb798281c]