diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-03 00:52:01 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-03 00:52:01 -0800 |
| commit | cfee75b21b307b5d57c215cad5b1c089c91182fc (patch) | |
| tree | e6d605892aced717a4519f7860c0b143d11819a6 /lib/utils2.nom | |
| parent | 3bd12b5331f7e5ec939cb8130350ea68fcbd6ceb (diff) | |
Reworked {} a bit and added dicts to the core language. Did some more
testing on string interpolations too.
Diffstat (limited to 'lib/utils2.nom')
| -rw-r--r-- | lib/utils2.nom | 2 |
1 files changed, 1 insertions, 1 deletions
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);" |
