Revision: 1045
http://svn.sourceforge.net/pygccxml/?rev=1045&view=rev
Author: roman_yakovenko
Date: 2007-05-27 12:16:22 -0700 (Sun, 27 May 2007)
Log Message:
-----------
adjusting declarations cache to use right( gccxml ) configuration
Modified Paths:
--------------
pygccxml_dev/pygccxml/parser/declarations_cache.py
Modified: pygccxml_dev/pygccxml/parser/declarations_cache.py
===================================================================
--- pygccxml_dev/pygccxml/parser/declarations_cache.py 2007-05-27 19:14:12 UTC (rev 1044)
+++ pygccxml_dev/pygccxml/parser/declarations_cache.py 2007-05-27 19:16:22 UTC (rev 1045)
@@ -9,8 +9,8 @@
import time
import cPickle
from pygccxml import utils
+import config as cxx_parsers_cfg
-
def file_signature( filename ):
if not os.path.isfile( filename ):
return None
@@ -33,9 +33,11 @@
to be different between runs.
"""
sig = md5.new()
- sig.update(str(config.gccxml_path))
+ if isinstance( config, cxx_parsers_cfg.gccxml_configuration_t ):
+ sig.update(str(config.gccxml_path))
sig.update(str(config.working_directory))
- sig.update(str(config.cflags))
+ if isinstance( config, cxx_parsers_cfg.gccxml_configuration_t ):
+ sig.update(str(config.cflags))
for p in config.include_paths:
sig.update(str(p))
for s in config.define_symbols:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|