[gcjx] fix syntax error in source/parse.hh
Gabriel Dos Reis
gdr@integrable-solutions.net
Thu Dec 22 03:22:00 GMT 2005
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 &);
More information about the Java-patches
mailing list