Handle windows line endings and tabs in json config files
Change-Id: I154629d862977dde5232db3bb2597474b6053ffd Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
672c0b3721
commit
6a90c9a8e5
@ -826,6 +826,8 @@ defineTest(qtRunSingleTest) {
|
|||||||
defineReplace(qtConfEvaluate) {
|
defineReplace(qtConfEvaluate) {
|
||||||
isEmpty(1): return(true)
|
isEmpty(1): return(true)
|
||||||
|
|
||||||
|
1 ~= s/$$escape_expand(\\t)/ /g
|
||||||
|
1 ~= s/$$escape_expand(\\r)//g
|
||||||
1 ~= s/$$escape_expand(\\n) */ /g
|
1 ~= s/$$escape_expand(\\n) */ /g
|
||||||
expr = $${1}
|
expr = $${1}
|
||||||
expr ~= s/&&/ && /g
|
expr ~= s/&&/ && /g
|
||||||
|
Loading…
x
Reference in New Issue
Block a user