diff --git a/cxlc.py b/cxlc.py index ea75aba..043cf98 100644 --- a/cxlc.py +++ b/cxlc.py @@ -46,7 +46,7 @@ whatf = [] for i in str_w: - if (i.startswith("use")): + if (i.startswith("use")): module = i.replace("use@", "") whatf.append(module.strip()) @@ -76,7 +76,7 @@ with open(argv[1], 'r') as f: w_ph = f.readlines() for i in w_ph: - if (i.startswith("#include")): # io.cxlbund/io.h + if (i.startswith("#include")): inc_ = i.replace("#include \"", "").replace("\"", "") inc = re.sub(".cxlbund.*", "", inc_) includes.append("use@" + inc)