From b8d85c035bbd2d6fa8a37f957bcf80acab18015e Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sun, 18 May 2014 10:15:20 -0700 Subject: gluegen: update antlr grammer to produce annotated enum and functionName sets The annotations are all commented out, uncomment them and reduce the type warnings during the build. Signed-off-by: Harvey Harrison --- src/java/com/jogamp/gluegen/jgram/JavaParser.g | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/java/com/jogamp/gluegen/jgram/JavaParser.g') diff --git a/src/java/com/jogamp/gluegen/jgram/JavaParser.g b/src/java/com/jogamp/gluegen/jgram/JavaParser.g index 18f2970..f67579e 100644 --- a/src/java/com/jogamp/gluegen/jgram/JavaParser.g +++ b/src/java/com/jogamp/gluegen/jgram/JavaParser.g @@ -155,7 +155,7 @@ tokens { } /** Returns the EnumTypes this HeaderParser processed. */ - public Set getParsedEnumNames() { + public Set getParsedEnumNames() { return enumNames; } @@ -167,13 +167,13 @@ tokens { } /** Returns the list of FunctionSymbols this HeaderParser has parsed. */ - public Set getParsedFunctionNames() { + public Set getParsedFunctionNames() { return functionNames; } - private Set/**/ functionNames = new HashSet(); + private Set functionNames = new HashSet(); // hash from name of an enumerated value to the EnumType to which it belongs - private Set/**/ enumNames = new HashSet(); + private Set enumNames = new HashSet(); private int blockDepth = 0; } -- cgit v1.2.3