mnbujold / c415-compiler

Fall 2012 CMPUT 415 Compiler Course
0 stars 3 forks source link

Carets not indicating correct position #7

Closed James-Osgood closed 11 years ago

James-Osgood commented 11 years ago

On some test, the '^' symbol does not correctly indicate where the error occurred on the line. The caret is in the correct location for our tests (0.pal and 1.pal specifically), but not for all of Piotr's tests.

dchui1 commented 11 years ago

It looks like the reason for this is because the compiler sometimes continues parsing some lines before printing out the error, which obviously will screw up the column number

dchui1 commented 11 years ago

What's the update on this? Does this still occur? And if so, for which tests?

James-Osgood commented 11 years ago

Should be fixed.