diff options
author | Harvey Harrison <[email protected]> | 2014-05-18 10:15:20 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2014-05-18 10:15:20 -0700 |
commit | b8d85c035bbd2d6fa8a37f957bcf80acab18015e (patch) | |
tree | 30b2da21e2af5556ac6ab94d5eae9f859f790876 /src/java/com/jogamp/gluegen/jgram/JavaParser.g | |
parent | 5a9bee7ad9085cfd71053041aff3cabce2325f22 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/java/com/jogamp/gluegen/jgram/JavaParser.g')
-rw-r--r-- | src/java/com/jogamp/gluegen/jgram/JavaParser.g | 8 |
1 files changed, 4 insertions, 4 deletions
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<String> getParsedEnumNames() { return enumNames; } @@ -167,13 +167,13 @@ tokens { } /** Returns the list of FunctionSymbols this HeaderParser has parsed. */ - public Set getParsedFunctionNames() { + public Set<String> getParsedFunctionNames() { return functionNames; } - private Set/*<String>*/ functionNames = new HashSet(); + private Set<String> functionNames = new HashSet<String>(); // hash from name of an enumerated value to the EnumType to which it belongs - private Set/*<String>*/ enumNames = new HashSet(); + private Set<String> enumNames = new HashSet<String>(); private int blockDepth = 0; } |