From ebb79dfb8ab9752c6ce92ca1af6c430d22bc069c Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 22 Mar 2010 17:19:17 +0100 Subject: fixed regression in constant emission where a type suffix (e.g. 'f') was illegally added after a closing bracket. added testcase. --- src/java/com/sun/gluegen/ConstantDefinition.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/java/com/sun/gluegen/ConstantDefinition.java') diff --git a/src/java/com/sun/gluegen/ConstantDefinition.java b/src/java/com/sun/gluegen/ConstantDefinition.java index e4cb3f5..eee5781 100644 --- a/src/java/com/sun/gluegen/ConstantDefinition.java +++ b/src/java/com/sun/gluegen/ConstantDefinition.java @@ -121,4 +121,12 @@ public class ConstantDefinition { } aliases.add(alias); } + + @Override + public String toString() { + return "ConstantDefinition [name " + name + " origName " + origName + " value " + value + + " aliasedNames " + aliasedNames + " aliases " + aliases + + " enumName " + enumName + " isEnum " + isEnum + "]"; + } + } -- cgit v1.2.3