summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-12-07 02:09:52 +0000
committerKenneth Russel <[email protected]>2004-12-07 02:09:52 +0000
commit494740e563ead19828cc44a03230eb066bf84a02 (patch)
tree48bc5a0b64c553b63d83bde8515cd03b6de3472f /src/net
parentd28652370b55b44d1ff4b287a6ca5b5bde4614c6 (diff)
Fixed Issue 123: Use of "enum" as variable name should be eliminated in JOGL
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@179 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net')
-rw-r--r--src/net/java/games/gluegen/JavaMethodBindingEmitter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/games/gluegen/JavaMethodBindingEmitter.java b/src/net/java/games/gluegen/JavaMethodBindingEmitter.java
index 850a2c701..131faae0d 100644
--- a/src/net/java/games/gluegen/JavaMethodBindingEmitter.java
+++ b/src/net/java/games/gluegen/JavaMethodBindingEmitter.java
@@ -231,16 +231,16 @@ public class JavaMethodBindingEmitter extends FunctionEmitter
// distinguish between the values found within multiple anonymous
// enums in the same C translation unit.
if (type.isEnum() && type.getName() != HeaderParser.ANONYMOUS_ENUM_NAME) {
- EnumType enum = (EnumType)type;
+ EnumType enumType = (EnumType)type;
writer.println();
writer.print(emitter.getBaseIndentString());
writer.print(" ");
writer.print("@param ");
writer.print(binding.getArgumentName(i));
writer.print(" valid values are: <code>");
- for (int j = 0; j < enum.getNumEnumerates(); ++j) {
+ for (int j = 0; j < enumType.getNumEnumerates(); ++j) {
if (j>0) writer.print(", ");
- writer.print(enum.getEnumName(j));
+ writer.print(enumType.getEnumName(j));
}
writer.println("</code>");
}