forked from qt-creator/qt-creator
shiboken2tasks.py: Fix for Windows
File names were not captured since ':' was excluded which can appear in a file name on Windows. Change-Id: I4bbf08c63faa12d3b76d73e927aef1457c09e02f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
This commit is contained in:
@@ -36,7 +36,8 @@ import re
|
||||
|
||||
if __name__ == '__main__':
|
||||
# qt.shiboken: (<module>) <file>:<line>:[<column>:] text
|
||||
pattern = re.compile(r'^qt\.shiboken: \(([^)]+)\) ([^:]+):(\d+):(?:\d+:)? (.*)$')
|
||||
# file might be c:\ on Windows
|
||||
pattern = re.compile(r'^qt\.shiboken: \(([^)]+)\) (..[^:]+):(\d+):(?:\d+:)? (.*)$')
|
||||
while True:
|
||||
line = sys.stdin.readline()
|
||||
if not line:
|
||||
|
Reference in New Issue
Block a user