This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gcjx] fix syntax error in source/parse.hh
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: java-patches at gcc dot gnu dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: 22 Dec 2005 05:18:23 +0100
- Subject: [gcjx] fix syntax error in source/parse.hh
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 &);