mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* cp-name-parser.y (parse_escape): Revert previous change. Return
the input character by default.
This commit is contained in:
parent
c6826062e5
commit
03f4d4c7dc
@ -1,3 +1,8 @@
|
||||
2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* cp-name-parser.y (parse_escape): Revert previous change. Return
|
||||
the input character by default.
|
||||
|
||||
2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
|
||||
|
@ -1440,7 +1440,7 @@ c_parse_backslash (int host_char, int *target_char)
|
||||
static int
|
||||
parse_escape (const char **string_ptr)
|
||||
{
|
||||
int target_char = 0;
|
||||
int target_char;
|
||||
int c = *(*string_ptr)++;
|
||||
if (c_parse_backslash (c, &target_char))
|
||||
return target_char;
|
||||
@ -1498,7 +1498,7 @@ parse_escape (const char **string_ptr)
|
||||
return i;
|
||||
}
|
||||
default:
|
||||
return target_char;
|
||||
return c;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user