From cd4196d36553530eac385dd909426509fa9aaeec Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 3 Jan 2018 01:04:21 -0800 Subject: Tidying. --- lib/utils2.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/utils2.nom') 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); -- cgit v1.2.3