aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/parser.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2d22a59..7124c5a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-23 Kazu Hirata <kazu@cs.umass.edu>
+
+ * parser.c: Fix a comment typo.
+
2004-09-23 Nathan Sidwell <nathan@codesourcery.com>
PR c++/17620
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 9c528e7..543c9fa 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -2446,7 +2446,7 @@ cp_parser_string_literal (cp_parser *parser, bool translate, bool wide_ok)
return error_mark_node;
}
- /* Try to avoid the overhead of creating and destroying an obstac
+ /* Try to avoid the overhead of creating and destroying an obstack
for the common case of just one string. */
if (!cp_parser_is_string_literal (cp_lexer_peek_nth_token (parser->lexer, 2)))
{