pro2cmake: Remove warning about line continuations
Almost every non-trivial .pro file has line continuations. Remove the warning as there's nothing the user can do about it. Change-Id: Ic8a54e5e5cc39a31267800edde4b0ff2b0276a48 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
6bfe16922a
commit
bc4f17e7dc
@ -1059,10 +1059,6 @@ class QmakeParser:
|
|||||||
old_contents = contents
|
old_contents = contents
|
||||||
contents = fixup_comments(contents)
|
contents = fixup_comments(contents)
|
||||||
contents = fixup_linecontinuation(contents)
|
contents = fixup_linecontinuation(contents)
|
||||||
|
|
||||||
if old_contents != contents:
|
|
||||||
print('Warning: Fixed line continuation in .pro-file!\n'
|
|
||||||
' Position information in Parsing output might be wrong!')
|
|
||||||
result = self._Grammar.parseString(contents, parseAll=True)
|
result = self._Grammar.parseString(contents, parseAll=True)
|
||||||
except pp.ParseException as pe:
|
except pp.ParseException as pe:
|
||||||
print(pe.line)
|
print(pe.line)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user