Updated link in README file.
[Hack-Assembler.git] / error.h
blob1f71b50ba0b6cec5511326878418f86f8a369544
1 /*
2 * Prints error to stdout along with error number and string desc of problem.
3 * Exits program without recourse.
4 */
5 void exit_error(const int err_num, const char *err_msg);
7 /*
8 * Display Warnings about assembler status as needed.
10 * These are messages to the user that contain both an error number
11 * as well as simple description of what went wrong.
13 * Error number corresponds to number listed in documentation.
16 void warning_error(const int err_num, const char *err_msg);
19 * Prints line number that error/warning occured for user.
21 void line_notification(const int line_num);