Kingcom / armips

An assembler for various ARM and MIPS platforms. Builds available at http://buildbot.orphis.net/armips/
MIT License
363 stars 77 forks source link

Add late check for errors before exiting (fixes #99) #220

Closed Prof9 closed 2 years ago

Prof9 commented 2 years ago

This adds Logger::hasError() checks right before exiting so that errors during the encoding step properly set the exit code to 1. Adding it here also catches the "file not closed" warning when erroronwarning is active.