From: Jérémie Astor Date: Mon, 14 Sep 2020 18:32:48 +0000 (+0200) Subject: :art: String now escaped by default. X-Git-Tag: nightly~1300 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5fc15c112f3af9dd6c2dc101456450a325ec1fa5;p=gwion.git :art: String now escaped by default. --- diff --git a/ast b/ast index 0c6a1261..95aeae8c 160000 --- a/ast +++ b/ast @@ -1 +1 @@ -Subproject commit 0c6a126177389658ee1c04a807f77b7e48ad6a62 +Subproject commit 95aeae8c6dae2652dc092dd36bc0d9caa12a20a7 diff --git a/tests/interp/empty.gw b/tests/interp/empty.gw index 6be8f59e..025ed614 100644 --- a/tests/interp/empty.gw +++ b/tests/interp/empty.gw @@ -1 +1 @@ -<<< `` >>>; +<<< "" >>>; diff --git a/tests/interp/exp.gw b/tests/interp/exp.gw index dd295f44..48e267f9 100644 --- a/tests/interp/exp.gw +++ b/tests/interp/exp.gw @@ -1,3 +1,3 @@ #! [contains] Hello, interpolation! 1 1 => var int my; -<<< `Hello, interpolation! ${ my }` >>>; +<<< "Hello, interpolation! ${ my }" >>>; diff --git a/tests/interp/exp_lit.gw b/tests/interp/exp_lit.gw index 4348ea47..aee41c61 100644 --- a/tests/interp/exp_lit.gw +++ b/tests/interp/exp_lit.gw @@ -1,3 +1,3 @@ #! [contains] 1 Hello, interpolation! 1 => var int my; -<<< `${my} Hello, interpolation!` >>>; +<<< "${my} Hello, interpolation!" >>>; diff --git a/tests/interp/lit.gw b/tests/interp/lit.gw index 849b094e..68a9a5c0 100644 --- a/tests/interp/lit.gw +++ b/tests/interp/lit.gw @@ -1,2 +1,2 @@ #! [contains] Hello, interpolation! -<<< `Hello, interpolation!` >>>; +<<< "Hello, interpolation!" >>>; diff --git a/tests/interp/to_string.gw b/tests/interp/to_string.gw index 16e6ce21..eb827980 100644 --- a/tests/interp/to_string.gw +++ b/tests/interp/to_string.gw @@ -1,4 +1,4 @@ #! [contains] Hello, interpolation! 1 1 => var int my; -`Hello, interpolation! ${ my }` => var string s; +"Hello, interpolation! ${ my }" => var string s; <<< s >>>;