* VM: print error message with file coordinates. * Do it in style acceptable to emacs. */
| 14 | * Do it in style acceptable to emacs. |
| 15 | */ |
| 16 | void FileError(char *fmt, ...) { |
| 17 | va_list args; |
| 18 | |
| 19 | fprintf(stderr, "%s:%d: ", (inc_file?inc_file_name:input_file_name), lineno); |
| 20 | va_start(args, fmt); |
| 21 | vfprintf(stderr, fmt, args); |
| 22 | va_end(args); |
| 23 | fprintf(stderr, "\n"); |
| 24 | } |
| 25 | |
| 26 | void fatal(char *msg) |
| 27 | { |
no test coverage detected