aboutsummaryrefslogtreecommitdiff
path: root/lib/utils2.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils2.nom')
-rw-r--r--lib/utils2.nom4
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);