davidgiven / ack

The Amsterdam Compiler Kit
http://tack.sf.net
Other
421 stars 59 forks source link

[bug] em_encode does not keep correct line numbering on em assembler files. #190

Open ccodere opened 5 years ago

ccodere commented 5 years ago

When building a manually crafted em assembly file that does not have "lin" statements em_encode removes all whitespace in the converted file.

Therefore if any error occurs thereafter, such as in em_ass, the incorrect line number shall be displayed. The workaround is to use em_decode on the encoded file to retrieve and find the original line number being referred to in the different tools such em_ass.

This is a known limitation of em_encode.