[pygccxml-commit] SF.net SVN: pygccxml:[1605] pygccxml_dev
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2009-01-20 12:33:52
|
Revision: 1605 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1605&view=rev Author: roman_yakovenko Date: 2009-01-20 12:33:42 +0000 (Tue, 20 Jan 2009) Log Message: ----------- bsc and mspdb packages were deprecated Modified Paths: -------------- pygccxml_dev/pygccxml/parser/scanner.py pygccxml_dev/setup.py Added Paths: ----------- pygccxml_dev/deprecated/ pygccxml_dev/deprecated/bsc/ pygccxml_dev/deprecated/mspdb/ Removed Paths: ------------- pygccxml_dev/pygccxml/binary_parsers/bsc/ pygccxml_dev/pygccxml/binary_parsers/mspdb/ Modified: pygccxml_dev/pygccxml/parser/scanner.py =================================================================== --- pygccxml_dev/pygccxml/parser/scanner.py 2009-01-20 12:25:25 UTC (rev 1604) +++ pygccxml_dev/pygccxml/parser/scanner.py 2009-01-20 12:33:42 UTC (rev 1605) @@ -530,18 +530,18 @@ def __read_version(self, attrs): logger = utils.loggers.cxx_parser - - version = float( attrs.get(XML_AN_CVS_REVISION, 0.6) ) + version_str = attrs.get(XML_AN_CVS_REVISION, 0.6) + version = float( version_str ) if version is None: logger.info ( 'GCCXML version - 0.6' ) self.__compiler = compilers.GCC_XML_06 elif version <= 1.114: logger.info ( 'GCCXML version - 0.7' ) self.__compiler = compilers.GCC_XML_07 - elif version in ( 1.115, 1.116, 1.117, 1.118, 1.119, 1.120, 1.121 ): - logger.info ( 'GCCXML version - 0.9 BUGGY' ) + elif 1.115 <= version <= 1.126: + logger.info ( 'GCCXML version - 0.9 BUGGY( %s )', version_str ) self.__compiler = compilers.GCC_XML_09_BUGGY else: - logger.info ( 'GCCXML version - 0.9' ) + logger.info ( 'GCCXML version - 0.9( %s )', version_str ) self.__compiler = compilers.GCC_XML_09 Modified: pygccxml_dev/setup.py =================================================================== --- pygccxml_dev/setup.py 2009-01-20 12:25:25 UTC (rev 1604) +++ pygccxml_dev/setup.py 2009-01-20 12:33:42 UTC (rev 1605) @@ -61,8 +61,9 @@ 'pygccxml.declarations', 'pygccxml.parser', 'pygccxml.binary_parsers', - 'pygccxml.binary_parsers.bsc', - 'pygccxml.binary_parsers.mspdb', + #~ deprecated + #~ 'pygccxml.binary_parsers.bsc', + #~ 'pygccxml.binary_parsers.mspdb', 'pygccxml.utils' ], cmdclass = {"doc" : doc_cmd} ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |