Commit 4db60bd0 by Ben Elliston Committed by Ben Elliston

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
parent 9c5835d5
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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment