diff options
Diffstat (limited to 'sim/igen/misc.h')
-rw-r--r-- | sim/igen/misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/igen/misc.h b/sim/igen/misc.h index a1cae76..214505a 100644 --- a/sim/igen/misc.h +++ b/sim/igen/misc.h @@ -64,7 +64,7 @@ do { \ line_ref line; \ line.file_name = filter_filename (__FILE__); \ line.line_nr = __LINE__; \ - error (&line, EXPRESSION); \ + error (&line, EXPRESSION "\n"); \ } while (0) #define ASSERT(EXPRESSION) \ @@ -73,7 +73,7 @@ do { \ line_ref line; \ line.file_name = filter_filename (__FILE__); \ line.line_nr = __LINE__; \ - error(&line, "assertion failed - %s\n", #EXPRESSION); \ + error (&line, "assertion failed - %s\n", #EXPRESSION); \ } \ } while (0) |