mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 09:40:36 +08:00
tree-pretty-print.c (pretty_print_string): No need to handle '\0' as a special character.
* tree-pretty-print.c (pretty_print_string): No need to handle '\0' as a special character. From-SVN: r113669
This commit is contained in:
parent
9c5835d588
commit
4db60bd06f
@ -1,5 +1,8 @@
|
||||
2006-05-10 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* tree-pretty-print.c (pretty_print_string): No need to handle
|
||||
'\0' as a special character.
|
||||
|
||||
* tree.h: Include "hashtab.h".
|
||||
(iterative_hash_expr): Use hashval_t in its prototype.
|
||||
* Makefile.in (TREE_H): Add $(HASHTAB_H).
|
||||
|
@ -2512,9 +2512,7 @@ pretty_print_string (pretty_printer *buffer, const char *str)
|
||||
pp_string (buffer, "\\'");
|
||||
break;
|
||||
|
||||
case '\0':
|
||||
pp_string (buffer, "\\0");
|
||||
break;
|
||||
/* No need to handle \0; the loop terminates on \0. */
|
||||
|
||||
case '\1':
|
||||
pp_string (buffer, "\\1");
|
||||
|
Loading…
x
Reference in New Issue
Block a user