summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-08 19:59:42 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-08 19:59:42 +0000
commit123ec651a2f8633ebd1c22971f3dd01e6e6c7fba (patch)
tree64406be2814c3bec1b06fd57e496fcd6e78f9f13 /gcc
parent55d52ecf936a05aebd90a034266c7afc7362c2f3 (diff)
downloadgcc-123ec651a2f8633ebd1c22971f3dd01e6e6c7fba.tar.gz
Trivial typo fix in pretty-print.h
gcc/ChangeLog: * pretty-print.h (printer_fn): Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227562 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/pretty-print.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c33ec074b73..fb7d644eac9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-08 David Malcolm <dmalcolm@redhat.com>
+
+ * pretty-print.h (printer_fn): Fix typo in comment.
+
2015-09-07 Jeff Law <law@redhat.com>
* tree-ssa-scopedtables.h (class const_and_copies): Fix comment typo.
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h
index 6e8a300fbeb..36d4e37a0d2 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 *,