diff options
Diffstat (limited to 'giscanner/transformer.py')
-rw-r--r-- | giscanner/transformer.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/giscanner/transformer.py b/giscanner/transformer.py index 67367999..ba7afb93 100644 --- a/giscanner/transformer.py +++ b/giscanner/transformer.py @@ -338,10 +338,7 @@ raise ValueError.""" elif stype == CSYMBOL_TYPE_UNION: return self._create_union(symbol) elif stype == CSYMBOL_TYPE_CONST: - # Don't parse constants which are marked (skip) - docblock = self._annotations.get(symbol.ident) - if not docblock or not 'skip' in docblock.options: - return self._create_const(symbol) + return self._create_const(symbol) # Ignore variable declarations in the header elif stype == CSYMBOL_TYPE_OBJECT: pass |