diff options
author | Sven Gothel <[email protected]> | 2015-03-09 07:02:43 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-09 07:02:43 +0100 |
commit | 5dd12c17bf5037c7ac6a2ac73caf4d61443c4749 (patch) | |
tree | c7d236cfbf44544852fcdab31ad44130471032f0 /src/java/com/jogamp/gluegen/GlueGen.java | |
parent | 8efdf71e2de6392344326ba6a28e8f8fa7e3e8e5 (diff) |
Bug 1134 - Add ASTLocusTagProvider for Define and fix newline in c-parser (Expose source location for log/error messages)
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(); |