diff mbox

[committed] Trivial typo fix in pretty-print.h

Message ID 1441743466-39725-1-git-send-email-dmalcolm@redhat.com
State New
Headers show

Commit Message

David Malcolm Sept. 8, 2015, 8:17 p.m. UTC
"pinter" -> "printer"

Committed to trunk as r227562, under the "obvious" rule.

gcc/ChangeLog:
	* pretty-print.h (printer_fn): Fix typo in comment.
---
 gcc/pretty-print.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h
index 6e8a300..36d4e37 100644
--- a/gcc/pretty-print.h
+++ b/gcc/pretty-print.h
@@ -187,7 +187,7 @@  struct pp_wrapping_mode_t
 /* Get or set the wrapping mode as a single entity.  */
 #define pp_wrapping_mode(PP) (PP)->wrapping
 
-/* The type of a hook that formats client-specific data onto a pretty_pinter.
+/* The type of a hook that formats client-specific data onto a pretty_printer.
    A client-supplied formatter returns true if everything goes well,
    otherwise it returns false.  */
 typedef bool (*printer_fn) (pretty_printer *, text_info *, const char *,