Declare variables as local in pret-lam.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 28 Aug 2009 12:04:04 +0000 (14:04 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 28 Aug 2009 12:04:04 +0000 (14:04 +0200)
pret-lam.lua

index 9bf5b96bd390d922b2e1ec8f58ce4956706d5dd5..54acfd1fd2ef6a4e3a9ce4cc7b7c85ca026be3a4 100644 (file)
@@ -102,6 +102,8 @@ local function do_subscripts(word)
 end
 
 local in_block = 0
 end
 
 local in_block = 0
+local submatches = {}
+local bases = {}
 
 -- Mark the begin of a block of lambda formatted buffers or expressions. This
 -- means that, until you call end_of_block again, the subscript bases are
 
 -- Mark the begin of a block of lambda formatted buffers or expressions. This
 -- means that, until you call end_of_block again, the subscript bases are