File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 41
41
pygccxml .declarations .class_t .USE_DEMANGLED_AS_NAME = True
42
42
43
43
class cxx_parsers_cfg :
44
- gccxml = None
44
+
45
+ keywd = { 'working_directory' : data_directory
46
+ , 'define_symbols' : [ gccxml_version ]
47
+ , 'compiler' : compiler }
48
+
45
49
if os .path .exists ( os .path .join ( gccxml_path , 'gccxml' ) ) \
46
50
or os .path .exists ( os .path .join ( gccxml_path , 'gccxml.exe' ) ):
47
- gccxml = pygccxml .parser .gccxml_configuration_t ( gccxml_path = gccxml_path
48
- , working_directory = data_directory
49
- , define_symbols = [ gccxml_version ]
50
- , compiler = compiler )
51
+ keywd [ 'gccxml_path' ] = gccxml_path
52
+ gccxml = pygccxml .parser .gccxml_configuration_t ( ** keywd )
53
+
51
54
pdb_loader = None
52
55
if sys .platform == 'win32' :
53
56
from pygccxml .msvc import pdb
You can’t perform that action at this time.
0 commit comments