add comment

This commit is contained in:
Felix Roos 2024-03-17 03:17:47 +01:00
parent a71a167133
commit 2de18846b0

View File

@ -140,6 +140,8 @@ function isLabelStatement(node) {
return node.type === 'LabeledStatement';
}
// converts label expressions to p calls: "x: y" to "y.p('x')"
// see https://github.com/tidalcycles/strudel/issues/990
function labelToP(node) {
return {
type: 'ExpressionStatement',