the input character by default.
+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.
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;
return i;
}
default:
- return target_char;
+ return c;
}
}