Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df9016d

Browse files
author
roman_yakovenko
committedJan 20, 2009
bsc and mspdb packages were deprecated
1 parent b911787 commit df9016d

File tree

9 files changed

+8
-7
lines changed

9 files changed

+8
-7
lines changed
 
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎pygccxml/parser/scanner.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -530,18 +530,18 @@ def __read_member_operator(self, attrs):
530530

531531
def __read_version(self, attrs):
532532
logger = utils.loggers.cxx_parser
533-
534-
version = float( attrs.get(XML_AN_CVS_REVISION, 0.6) )
533+
version_str = attrs.get(XML_AN_CVS_REVISION, 0.6)
534+
version = float( version_str )
535535
if version is None:
536536
logger.info ( 'GCCXML version - 0.6' )
537537
self.__compiler = compilers.GCC_XML_06
538538
elif version <= 1.114:
539539
logger.info ( 'GCCXML version - 0.7' )
540540
self.__compiler = compilers.GCC_XML_07
541-
elif version in ( 1.115, 1.116, 1.117, 1.118, 1.119, 1.120, 1.121 ):
542-
logger.info ( 'GCCXML version - 0.9 BUGGY' )
541+
elif 1.115 <= version <= 1.126:
542+
logger.info ( 'GCCXML version - 0.9 BUGGY( %s )', version_str )
543543
self.__compiler = compilers.GCC_XML_09_BUGGY
544544
else:
545-
logger.info ( 'GCCXML version - 0.9' )
545+
logger.info ( 'GCCXML version - 0.9( %s )', version_str )
546546
self.__compiler = compilers.GCC_XML_09
547547

‎setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ def run(self):
6161
'pygccxml.declarations',
6262
'pygccxml.parser',
6363
'pygccxml.binary_parsers',
64-
'pygccxml.binary_parsers.bsc',
65-
'pygccxml.binary_parsers.mspdb',
64+
#~ deprecated
65+
#~ 'pygccxml.binary_parsers.bsc',
66+
#~ 'pygccxml.binary_parsers.mspdb',
6667
'pygccxml.utils' ],
6768
cmdclass = {"doc" : doc_cmd}
6869
)

0 commit comments

Comments
 (0)
Please sign in to comment.