diff options
| author | grischka <grischka> | 2009-06-17 02:10:56 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2009-06-17 02:10:56 +0200 |
| commit | ec54c34b9ef7f5102b07b708bf0662fb4428529f (patch) | |
| tree | de5175cccd97e6662ed81e98cca8d458430915f3 | |
| parent | e4ae77c7bbe01637e7164fd1420b7d8fecfe2a29 (diff) | |
| download | tinycc-ec54c34b9ef7f5102b07b708bf0662fb4428529f.tar.gz tinycc-ec54c34b9ef7f5102b07b708bf0662fb4428529f.tar.bz2 | |
error messages: print "error: ..."
| -rw-r--r-- | libtcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -803,6 +803,8 @@ void error1(TCCState *s1, int is_warning, const char *fmt, va_list ap) } if (is_warning) strcat_printf(buf, sizeof(buf), "warning: "); + else + strcat_printf(buf, sizeof(buf), "error: "); strcat_vprintf(buf, sizeof(buf), fmt, ap); if (!s1->error_func) { |
