gcc/libjava/gnu/xml/xpath
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
..
AndExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ArithmeticExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
BooleanFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
CeilingFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ConcatFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Constant.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ContainsFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
CountFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
DocumentOrderComparator.h re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
EqualityExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Expr$ExprNodeSet.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Expr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
FalseFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
FloorFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Function.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
FunctionCall.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
IdFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
LangFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
LastFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
LocalNameFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NameFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NameTest.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NamespaceTest.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NamespaceUriFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NegativeExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NodeTypeTest.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NormalizeSpaceFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NotFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
NumberFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
OrExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
ParenthesizedExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Path.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Pattern.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
PositionFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Predicate.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
RelationalExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Root.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
RoundFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Selector.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
StartsWithFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Steps.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
StringFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
StringLengthFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
SubstringAfterFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
SubstringBeforeFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
SubstringFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
SumFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
Test.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
TranslateFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
TrueFunction.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
UnionExpr.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
VariableReference.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
XPathFactoryImpl.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathImpl.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
XPathParser$YyCheckClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyDefRedClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyDgotoClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyGindexClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyLenClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyLhsClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyNameClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyRindexClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YySindexClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$YyTableClass.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$yyException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser$yyInput.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathParser.h re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
XPathTokenizer$XPathToken.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
XPathTokenizer.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00