smallpond

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/smallpond
Log | Files | Refs | README | LICENSE

commit f1123bd5d798d04271e64f5939c5abef0d43e5c8
parent a94ccc54899db0106ebf48f8531b5c84b6f5b861
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Wed, 12 Oct 2022 14:44:50 -0500

tiny cleanup

Diffstat:
Msmallpond.lua | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/smallpond.lua b/smallpond.lua @@ -175,7 +175,6 @@ local commands = { i, out = parsenotecolumn(text, i) group.count = out.count group.stemdir = out.stemdir - group.stemdir = out.stemdir group.beam = out.beam table.insert(voice, group) goto start @@ -247,7 +246,7 @@ local staff1 = {} local curname local inbeam = 0 -- first-order placement -abstract_dispatch = { +local dispatch1 = { newnotegroup = function(data) local heads = {} local beamcount = math.log(data.count) / math.log(2) - 2 @@ -300,7 +299,7 @@ abstract_dispatch = { for _, voice in ipairs(voices) do time = 0 for _, item in ipairs(voice) do - assert(abstract_dispatch[item.command])(item) + assert(dispatch1[item.command])(item) end end