cmake: Also detect Windows paths
This commit is contained in:
parent
ec0998e694
commit
8320217210
|
@ -403,7 +403,7 @@ class CMakeTraceParser:
|
||||||
def _guess_files(self, broken_list: List[str]) -> List[str]:
|
def _guess_files(self, broken_list: List[str]) -> List[str]:
|
||||||
#Try joining file paths that contain spaces
|
#Try joining file paths that contain spaces
|
||||||
|
|
||||||
reg_start = re.compile(r'^/.*/[^./]+$')
|
reg_start = re.compile(r'^([A-Za-z]:)?/.*/[^./]+$')
|
||||||
reg_end = re.compile(r'^.*\.[a-zA-Z]+$')
|
reg_end = re.compile(r'^.*\.[a-zA-Z]+$')
|
||||||
|
|
||||||
fixed_list = [] # type: List[str]
|
fixed_list = [] # type: List[str]
|
||||||
|
|
Loading…
Reference in New Issue