diff options
Diffstat (limited to 'gdb/macroexp.c')
-rw-r--r-- | gdb/macroexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/macroexp.c b/gdb/macroexp.c index 73e68d7..86689c3 100644 --- a/gdb/macroexp.c +++ b/gdb/macroexp.c @@ -334,7 +334,7 @@ get_character_constant (struct macro_buffer *tok, char *p, char *end) else if (*p == 'L' || *p == 'u' || *p == 'U') p += 2; else - gdb_assert (0); + gdb_assert_not_reached ("unexpected character constant"); body_start = p; for (;;) @@ -389,7 +389,7 @@ get_string_literal (struct macro_buffer *tok, char *p, char *end) else if (*p == 'L' || *p == 'u' || *p == 'U') p += 2; else - gdb_assert (0); + gdb_assert_not_reached ("unexpected string literal"); for (;;) { |