gcc/libjava/gnu/xml/transform
Andrew Haley 3ad1aba1f8 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
2009-06-29 17:50:59 +00:00
..
AbstractNumberNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ApplyImportsNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ApplyTemplatesNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
AttributeNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
AttributeSet.h
Bindings.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
CallTemplateNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ChooseNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
CommentNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
CopyNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
CopyOfNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
CurrentFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
DocumentFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
DOMSourceLocator.h
ElementAvailableFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ElementNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ErrorListenerErrorHandler.h
ForEachNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
FormatNumberFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
FunctionAvailableFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
GenerateIdFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
IfNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Key.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
KeyFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
LiteralNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
MessageNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NamespaceProxy.h
NodeNumberNode.h
NumberNode.h
OtherwiseNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ParameterNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ProcessingInstructionNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
SAXSerializer.h
SAXTemplatesHandler.h
SAXTransformerHandler.h
SortKey.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
StreamSerializer.h
StrippingInstruction.h
Stylesheet.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
SystemPropertyFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Template.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
TemplateNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
TemplatesImpl.h
TextNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
TransformerFactoryImpl.h
TransformerImpl.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
TransformerOutputProperties.h
UnparsedEntityUriFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
URIResolverEntityResolver.h
ValueOfNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
WhenNode.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
WithParam.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
XSLComparator.h
XSLURIResolver.h