aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2009-06-29 17:50:59 +0000
committerAndrew Haley <aph@gcc.gnu.org>2009-06-29 17:50:59 +0000
commit3ad1aba1f8d179027d2b5532d43024edfa7e903e (patch)
tree3cfe7282cd5664c854b8f591c178d778224cc35e /libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h
parent356ecb153076b45d402faf66da6812e01e276906 (diff)
downloadgcc-3ad1aba1f8d179027d2b5532d43024edfa7e903e.zip
gcc-3ad1aba1f8d179027d2b5532d43024edfa7e903e.tar.gz
gcc-3ad1aba1f8d179027d2b5532d43024edfa7e903e.tar.bz2
re PR java/40590 (namespace namespace broken in CNI)
2009-06-29 Andrew Haley <aph@redhat.com> PR java/40590 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Use printName(). * tools/gnu/classpath/tools/javah/MethodHelper.java (print): Use printName(). * tools/gnu/classpath/tools/javah/CniStubPrinter.java (printDecl): Use printName(). * tools/gnu/classpath/tools/javah/Keywords.java (words): Replace with keywords list from gcc/java/mangle.c. * tools/gnu/classpath/tools/javah/ClassWrapper.java (printMethods): Don't pre-convert a C++ keyword. (print(CniPrintStream)): Call CniPrintStream.printName(). (printContents): Likewise. * tools/gnu/classpath/tools/javah/CniPrintStream.java (getClassName): Don't call replaceAll("/", "::"). (print(Type)): Add ""::" befor name, " *" after. Use printName(), not print. (printName(PrintStream, String), printName(String), printlnName): New methods. (moveToPackage): Use printName(). 2009-06-29 Andrew Haley <aph@redhat.com> PR java/40590 * java-tree.h (cxx_keyword_p): New declaration. * mangle_name.c (utf8_cmp): Move here from mangle.c. (cxx_keywords): Likewise. (cxx_keyword_p): Likewise. (MANGLE_CXX_KEYWORDS): New macro. (append_gpp_mangled_name): Use MANGLE_CXX_KEYWORDS. (append_gpp_mangled_name): Likewise. * mangle.c: Move code to mangle_name.c. (mangle_member_name): Don't call cxx_keyword_p. From-SVN: r149059
Diffstat (limited to 'libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h')
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h
index 2d208af..ed1bc80 100644
--- a/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h
@@ -36,7 +36,7 @@ extern "Java"
{
namespace xml
{
- namespace namespace
+ namespace namespace$
{
class QName;
}
@@ -77,7 +77,7 @@ public: // actually package-private
virtual jint parseComplexTypeBlockSet(::java::lang::String *);
virtual ::java::lang::Object * parseElement(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ElementDeclaration *);
virtual ::java::lang::Integer * getOccurrence(::java::lang::String *);
- virtual ::gnu::xml::validation::datatype::SimpleType * parseSimpleType(::javax::xml::namespace::QName *);
+ virtual ::gnu::xml::validation::datatype::SimpleType * parseSimpleType(::javax::xml::namespace$::QName *);
virtual ::gnu::xml::validation::datatype::SimpleType * parseSimpleType(::org::w3c::dom::Node *);
virtual ::gnu::xml::validation::datatype::Type * parseComplexType(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ElementDeclaration *);
virtual void parseSimpleContent(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ComplexType *);
@@ -87,7 +87,7 @@ public: // actually package-private
virtual ::gnu::xml::validation::datatype::Annotation * parseAnnotation(::org::w3c::dom::Node *);
private:
static ::java::lang::String * getAttribute(::org::w3c::dom::NamedNodeMap *, ::java::lang::String *);
- static ::javax::xml::namespace::QName * asQName(::java::lang::String *, ::org::w3c::dom::Node *);
+ static ::javax::xml::namespace$::QName * asQName(::java::lang::String *, ::org::w3c::dom::Node *);
public: // actually package-private
::gnu::xml::validation::xmlschema::XMLSchema * __attribute__((aligned(__alignof__( ::java::lang::Object)))) schema;
::org::relaxng::datatype::DatatypeLibrary * typeLibrary;