From cfee75b21b307b5d57c215cad5b1c089c91182fc Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 3 Jan 2018 00:52:01 -0800 Subject: Reworked {} a bit and added dicts to the core language. Did some more testing on string interpolations too. --- lib/utils2.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/utils2.nom') diff --git a/lib/utils2.nom b/lib/utils2.nom index def8854..cdaf5fa 100644 --- a/lib/utils2.nom +++ b/lib/utils2.nom @@ -27,7 +27,7 @@ compile [with %assignments %action] to code: assert (=lua "vars.eq and vars.eq.type == 'Word' and vars.eq.value == '='") ".." Invalid format for 'with' statement. List entries must have the form %var = (value) %value = (%tokens -> 3) - add (d{i=%i; var=%var; value=%value}) to %data + add {i=%i, var=%var, value=%value} to %data %foo = (..) join (..) "local old_value\(%->"i") = \((%->"var") as lua); \((%->"var") as lua) = \((%->"value") as lua);" -- cgit v1.2.3