Make a var local (again) in pret-lam.
[matthijs/master-project/report.git] / pret-lam.lua
index 41ffbc7f779b28f28e188a38669dd0c3ecad8c4a..0eb13240c59e8394150669fcb6f957508c3d4f05 100644 (file)
@@ -226,7 +226,7 @@ function vis.flush_line(str,nested)
 end
 
 function vis.do_line(str, no_indent)
-    result = {}
+    local result = {}
     if not no_indent then
         -- Allow ignore of the indentation stuff when we're calling ourselves
         -- for a partial line.