[pygccxml-commit] SF.net SVN: pygccxml:[1702] pygccxml_dev
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2009-04-23 10:22:08
|
Revision: 1702 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1702&view=rev Author: roman_yakovenko Date: 2009-04-23 10:22:07 +0000 (Thu, 23 Apr 2009) Log Message: ----------- fixing small bug on Windows, related to parsing configuration file Modified Paths: -------------- pygccxml_dev/pygccxml/parser/config.py Added Paths: ----------- pygccxml_dev/unittests/gccxml.cfg Modified: pygccxml_dev/pygccxml/parser/config.py =================================================================== --- pygccxml_dev/pygccxml/parser/config.py 2009-04-23 10:19:29 UTC (rev 1701) +++ pygccxml_dev/pygccxml/parser/config.py 2009-04-23 10:22:07 UTC (rev 1702) @@ -231,7 +231,7 @@ gccxml_path= #gccxml working directory - optional, could be set to your source code directory working_directory= - #additional include directories, separated by ';' or ':' + #additional include directories, separated by ';' include_paths= #gccxml has a nice algorithms, which selects what C++ compiler to emulate. #You can explicitly set what compiler it should emulate. @@ -264,10 +264,9 @@ gccxml_cfg.working_directory = value elif name == 'include_paths': for p in value.split( ';' ): - for pp in p.split( ':' ): - pp = pp.strip() - if pp: - gccxml_cfg.include_paths.append( pp ) + p = p.strip() + if p: + gccxml_cfg.include_paths.append( p ) elif name == 'compiler': gccxml_cfg.compiler = value else: Added: pygccxml_dev/unittests/gccxml.cfg =================================================================== --- pygccxml_dev/unittests/gccxml.cfg (rev 0) +++ pygccxml_dev/unittests/gccxml.cfg 2009-04-23 10:22:07 UTC (rev 1702) @@ -0,0 +1,13 @@ +[gccxml] +#path to gccxml executable file - optional, if not provided, os.environ['PATH'] +#variable is used to find it +gccxml_path= +#gccxml working directory - optional, could be set to your source code directory +working_directory= +#additional include directories, separated by ';' or ':' +include_paths= +#gccxml has a nice algorithms, which selects what C++ compiler to emulate. +#You can explicitly set what compiler it should emulate. +#Valid options are: g++, msvc6, msvc7, msvc71, msvc8, cl. +compiler=msvc71 +#GCC-XML site: http://gccxml.org/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |