aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-09-23 11:03:18 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-09-23 11:03:18 +0000
commit9688c3b862d15c475e4f2c91b93142d346583378 (patch)
tree03f92134d202908d2139f16f11b5407dc7ea1f28 /gcc
parentd7e9e62a8015f8eacf621259445968eb1723aafb (diff)
downloadgcc-9688c3b862d15c475e4f2c91b93142d346583378.zip
gcc-9688c3b862d15c475e4f2c91b93142d346583378.tar.gz
gcc-9688c3b862d15c475e4f2c91b93142d346583378.tar.bz2
* parser.c: Fix a comment typo.
From-SVN: r87940
Diffstat (limited to 'gcc')
-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)))
{