public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [gcjx] fix syntax error in source/parse.hh
@ 2005-12-22  3:22 Gabriel Dos Reis
  2005-12-22  3:32 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Dos Reis @ 2005-12-22  3:22 UTC (permalink / raw)
  To: java-patches; +Cc: Tom Tromey


this two-line patchlet fixes a syntax error in source/parser.hh. Found
while building gcxj-branch.  C++ does not permit the name being
introduced to be qualified.

OK?

-- Gaby
+ 2005-12-21  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+ 
+ 	* source/parse.hh (parse::basic_type_p(token_value)): Remove extra
+ 	"parse::" qualification.
+ 	(parse::assignment_op_p(token_value)): Likewise.
+ 
  2005-12-21  Tom Tromey  <tromey@redhat.com>
  
  	* TODO: Updated.
*** gcjx/source/parse.hh	(revision 108941)
--- gcjx/source/parse.hh	(local)
*************** class parse
*** 86,93 ****
    token &assume (token_value);
  
    // Classify tokens.
!   static bool parse::basic_type_p (token_value);
!   static bool parse::assignment_op_p (token_value);
  
    // Locate the lexically enclosing class with the given name.
    model_class *find_lexically_enclosing_class (const std::string &);
--- 86,93 ----
    token &assume (token_value);
  
    // Classify tokens.
!   static bool basic_type_p (token_value);
!   static bool assignment_op_p (token_value);
  
    // Locate the lexically enclosing class with the given name.
    model_class *find_lexically_enclosing_class (const std::string &);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gcjx] fix syntax error in source/parse.hh
  2005-12-22  3:22 [gcjx] fix syntax error in source/parse.hh Gabriel Dos Reis
@ 2005-12-22  3:32 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2005-12-22  3:32 UTC (permalink / raw)
  To: Gabriel Dos Reis; +Cc: java-patches

>>>>> "Gabriel" == Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

Gabriel> this two-line patchlet fixes a syntax error in
Gabriel> source/parser.hh. Found while building gcxj-branch.  C++ does
Gabriel> not permit the name being introduced to be qualified.

Oops!  I bet that is a cut-and-paste error on my part.

Gabriel> OK?

Yes, thanks.  Feel free to check in C++ syntax fixes without asking :-)

Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-22  3:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-22  3:22 [gcjx] fix syntax error in source/parse.hh Gabriel Dos Reis
2005-12-22  3:32 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).