projects
/
matthijs
/
master-project
/
report.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bc5509
)
Declare variables as local in pret-lam.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 28 Aug 2009 12:04:04 +0000
(14:04 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 28 Aug 2009 12:04:04 +0000
(14:04 +0200)
pret-lam.lua
patch
|
blob
|
history
diff --git
a/pret-lam.lua
b/pret-lam.lua
index 9bf5b96bd390d922b2e1ec8f58ce4956706d5dd5..54acfd1fd2ef6a4e3a9ce4cc7b7c85ca026be3a4 100644
(file)
--- 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