Pass location with errors in codegen to have markers in editors in Eclipse

Fixes issue #110
Merge pull request #149 from tbroyer/codegen-error-markers

Pass location with errors in codegen to have markers in editors in Eclipse