From: Matthijs Kooijman Date: Fri, 28 Aug 2009 12:04:04 +0000 (+0200) Subject: Declare variables as local in pret-lam. X-Git-Tag: final-thesis~275 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=990efc0b29d23ad13b817fea96cf5fc6216ffc09;p=matthijs%2Fmaster-project%2Freport.git Declare variables as local in pret-lam. --- diff --git a/pret-lam.lua b/pret-lam.lua index 9bf5b96..54acfd1 100644 --- a/pret-lam.lua +++ b/pret-lam.lua @@ -102,6 +102,8 @@ local function do_subscripts(word) 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