diff options
-rwxr-xr-x | giscanner/scannermain.py | 1 | ||||
-rw-r--r-- | giscanner/transformer.py | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py index deefcf99..8ccd1f09 100755 --- a/giscanner/scannermain.py +++ b/giscanner/scannermain.py @@ -452,7 +452,6 @@ def scanner_main(args): blocks = ap.parse(ss.get_comments()) # Transform the C symbols into AST nodes - transformer.set_annotations(blocks) transformer.parse(ss.get_symbols()) if not options.header_only: diff --git a/giscanner/transformer.py b/giscanner/transformer.py index 2708f0a6..f1aa165d 100644 --- a/giscanner/transformer.py +++ b/giscanner/transformer.py @@ -57,7 +57,6 @@ class Transformer(object): self._parsed_includes = {} # <string namespace -> Namespace> self._includepaths = [] self._passthrough_mode = False - self._annotations = {} def get_pkgconfig_packages(self): return self._pkg_config_packages @@ -68,9 +67,6 @@ class Transformer(object): def set_passthrough_mode(self): self._passthrough_mode = True - def set_annotations(self, annotations): - self._annotations = annotations - def _append_new_node(self, node): original = self._namespace.get(node.name) # Special case constants here; we allow duplication to sort-of |