aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-09-08 19:59:42 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-09-08 19:59:42 +0000
commit2e808a784deb8304eb54fb222a68beecb811a2a0 (patch)
tree64406be2814c3bec1b06fd57e496fcd6e78f9f13
parent465eeda4954487b776c9e7f23cc695b886a59993 (diff)
downloadgcc-2e808a784deb8304eb54fb222a68beecb811a2a0.zip
gcc-2e808a784deb8304eb54fb222a68beecb811a2a0.tar.gz
gcc-2e808a784deb8304eb54fb222a68beecb811a2a0.tar.bz2
Trivial typo fix in pretty-print.h
gcc/ChangeLog: * pretty-print.h (printer_fn): Fix typo in comment. From-SVN: r227562
-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 c33ec07..fb7d644 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 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 *,