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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AttributeImpl.h | Loading commit data... | |
| BufferedReader.h | Loading commit data... | |
| CRLFReader.h | Loading commit data... | |
| CharactersImpl.h | Loading commit data... | |
| CommentImpl.h | Loading commit data... | |
| DTDImpl.h | Loading commit data... | |
| EndDocumentImpl.h | Loading commit data... | |
| EndElementImpl.h | Loading commit data... | |
| EntityDeclarationImpl.h | Loading commit data... | |
| EntityReferenceImpl.h | Loading commit data... | |
| FilteredEventReader.h | Loading commit data... | |
| FilteredStreamReader.h | Loading commit data... | |
| NamespaceImpl.h | Loading commit data... | |
| NotationDeclarationImpl.h | Loading commit data... | |
| ProcessingInstructionImpl.h | Loading commit data... | |
| SAXParser.h | Loading commit data... | |
| SAXParserFactory.h | Loading commit data... | |
| StartDocumentImpl.h | Loading commit data... | |
| StartElementImpl.h | Loading commit data... | |
| UnicodeReader.h | Loading commit data... | |
| XIncludeFilter.h | Loading commit data... | |
| XMLEventAllocatorImpl.h | Loading commit data... | |
| XMLEventFactoryImpl.h | Loading commit data... | |
| XMLEventImpl.h | Loading commit data... | |
| XMLEventReaderImpl.h | Loading commit data... | |
| XMLEventWriterImpl.h | Loading commit data... | |
| XMLInputFactoryImpl.h | Loading commit data... | |
| XMLOutputFactoryImpl.h | Loading commit data... | |
| XMLParser$AnyContentModel.h | Loading commit data... | |
| XMLParser$Attribute.h | Loading commit data... | |
| XMLParser$AttributeDecl.h | Loading commit data... | |
| XMLParser$ContentModel.h | Loading commit data... | |
| XMLParser$ContentParticle.h | Loading commit data... | |
| XMLParser$Doctype.h | Loading commit data... | |
| XMLParser$ElementContentModel.h | Loading commit data... | |
| XMLParser$EmptyContentModel.h | Loading commit data... | |
| XMLParser$ExternalIds.h | Loading commit data... | |
| XMLParser$Input.h | Loading commit data... | |
| XMLParser$MixedContentModel.h | Loading commit data... | |
| XMLParser.h | Loading commit data... | |
| XMLStreamWriterImpl.h | Loading commit data... |