riolet / rix

Rix language combines the power of C language and the convenience of a high level language
GNU General Public License v3.0
729 stars 27 forks source link

Exit after error in main #47

Open yorickdewid opened 8 years ago

yorickdewid commented 8 years ago

When no input files are provided, the main routine continues after showing the error message which causes a SIGSEGV. Return with an exit status after the error is shown to prevent code from running after that point.