2003-01-11 Phil Edwards <pme@gcc.gnu.org>
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Jan 2003 09:09:41 +0000 (09:09 +0000)
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Jan 2003 09:09:41 +0000 (09:09 +0000)
* parser.c:  Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61198 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/parser.c

index 9430def..47dc6fa 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
+
+       * parser.c:  Fix comment typos.
+
 2003-01-10  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/9099
index ebd919d..acbfd11 100644 (file)
@@ -952,7 +952,7 @@ cp_lexer_rollback_tokens (lexer)
   lexer->next_token = cp_lexer_advance_token (lexer,
                                              lexer->first_token, 
                                              delta);
-  /* It might be the case that there wer no tokens when we started
+  /* It might be the case that there were no tokens when we started
      saving tokens, but that there are some tokens now.  */
   if (!lexer->next_token && lexer->first_token)
     lexer->next_token = lexer->first_token;
@@ -3109,7 +3109,7 @@ cp_parser_primary_expression (cp_parser *parser,
    If CHECK_DEPENDENCY_P is false, then names are looked up inside
    uninstantiated templates.  
 
-   If *TEMPLATE_KEYWORD_P is non-NULL, it is set to true iff the
+   If *TEMPLATE_P is non-NULL, it is set to true iff the
    `template' keyword is used to explicitly indicate that the entity
    named is a template.  */