]> Nishi Git Mirror - gwion.git/commitdiff
:art: String now escaped by default.
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 14 Sep 2020 18:32:48 +0000 (20:32 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 14 Sep 2020 18:32:48 +0000 (20:32 +0200)
ast
tests/interp/empty.gw
tests/interp/exp.gw
tests/interp/exp_lit.gw
tests/interp/lit.gw
tests/interp/to_string.gw

diff --git a/ast b/ast
index 0c6a126177389658ee1c04a807f77b7e48ad6a62..95aeae8c6dae2652dc092dd36bc0d9caa12a20a7 160000 (submodule)
--- a/ast
+++ b/ast
@@ -1 +1 @@
-Subproject commit 0c6a126177389658ee1c04a807f77b7e48ad6a62
+Subproject commit 95aeae8c6dae2652dc092dd36bc0d9caa12a20a7
index 6be8f59e8a3c8a7d460bbc96fe714222591e0104..025ed614552859fdabb83f6dedf7ce5ae794ded8 100644 (file)
@@ -1 +1 @@
-<<< `` >>>;
+<<< "" >>>;
index dd295f44105194edb4b3aa35ec0e2dd60a242557..48e267f9a64903225f334369eacf79da83ef805a 100644 (file)
@@ -1,3 +1,3 @@
 #! [contains] Hello, interpolation! 1
 1 => var int my;
-<<< `Hello, interpolation! ${ my }` >>>;
+<<< "Hello, interpolation! ${ my }" >>>;
index 4348ea47161a44bf1457acddac45ac7769c5edce..aee41c61cc4ae4396fcfc36299f31349b03c353f 100644 (file)
@@ -1,3 +1,3 @@
 #! [contains] 1 Hello, interpolation!
 1 => var int my;
-<<< `${my} Hello, interpolation!` >>>;
+<<< "${my} Hello, interpolation!" >>>;
index 849b094ef0586ed62ea315e3d1189f0ec4cfb0dd..68a9a5c0a30a1160d23e5b12af55fe07053ab8a4 100644 (file)
@@ -1,2 +1,2 @@
 #! [contains] Hello, interpolation!
-<<< `Hello, interpolation!` >>>;
+<<< "Hello, interpolation!" >>>;
index 16e6ce217f7119e56cd07c94ac9e8416ec8cd6d3..eb82798034fe6bb88f46350f9363b89f02d2ab61 100644 (file)
@@ -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 >>>;