diff --git a/pyste/src/VarExporter.py b/pyste/src/VarExporter.py index 6e4bf370..461551a2 100644 --- a/pyste/src/VarExporter.py +++ b/pyste/src/VarExporter.py @@ -1,6 +1,6 @@ from Exporter import Exporter from settings import * - +import utils #============================================================================== # VarExporter @@ -29,3 +29,7 @@ class VarExporter(Exporter): def Order(self): return self.info.name + + + def Unit(self): + return utils.makeid(self.info.include) diff --git a/pyste/src/pyste.py b/pyste/src/pyste.py index a608a8df..f163fea5 100644 --- a/pyste/src/pyste.py +++ b/pyste/src/pyste.py @@ -37,7 +37,7 @@ from policies import * from CppParser import CppParser, CppParserError import time -__VERSION__ = '0.8.1' +__VERSION__ = '0.8.2' def RecursiveIncludes(include): 'Return a list containg the include dir and all its subdirectories'