diff options
Diffstat (limited to 'src/java/com/jogamp/gluegen/GlueGen.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/GlueGen.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/GlueGen.java b/src/java/com/jogamp/gluegen/GlueGen.java index c4eb1c5..778ed75 100644 --- a/src/java/com/jogamp/gluegen/GlueGen.java +++ b/src/java/com/jogamp/gluegen/GlueGen.java @@ -220,8 +220,7 @@ public class GlueGen implements GlueEmitterControls { } for (final Object elem : lexer.getDefines()) { final Define def = (Define) elem; - // TODO: Add ASTLocusTag - allConstants.add(new ConstantDefinition(def.getName(), def.getValue(), null)); + allConstants.add(new ConstantDefinition(def.getName(), def.getValue(), def.getASTLocusTag())); } allFunctions = headerParser.getParsedFunctions(); |