diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-03 01:04:21 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-03 01:04:21 -0800 |
| commit | cd4196d36553530eac385dd909426509fa9aaeec (patch) | |
| tree | b881b2e37d89e25bc1ca0fccee71fa92003d76d5 /lib/utils2.nom | |
| parent | cfee75b21b307b5d57c215cad5b1c089c91182fc (diff) | |
Tidying.
Diffstat (limited to 'lib/utils2.nom')
| -rw-r--r-- | lib/utils2.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils2.nom b/lib/utils2.nom index cdaf5fa..d2fda8b 100644 --- a/lib/utils2.nom +++ b/lib/utils2.nom @@ -28,14 +28,14 @@ compile [with %assignments %action] to code: Invalid format for 'with' statement. List entries must have the form %var = (value) %value = (%tokens -> 3) add {i=%i, var=%var, value=%value} to %data - %foo = (..) + %setup = (..) join (..) "local old_value\(%->"i") = \((%->"var") as lua); \((%->"var") as lua) = \((%->"value") as lua);" ..for all %data ..with glue "\n " ".." do - \(%foo) + \%setup local fell_through = false; local ok, ret1, ret2 = pcall(function(nomsu, vars) \(%action as lua statements); |
