Skip to content

Commit

Permalink
fix at keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Nov 4, 2024
1 parent 2161b62 commit 9411ba1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lang/interpreter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ export function interpret(g: DspApi, data: Record<string, any>, tokens: Token[])
if (r == null) return
while (scope.stack.length) {
l = scope.stack.pop() as AstNode & { value: Value }
if (l.value.kind === Value.Kind.Audio) {
r = g.math.add(l.value, r)
}
// if (l.value.kind === Value.Kind.Audio) {
r = g.math.add(l.value, r)
// }
}
const node = new AstNode(AstNode.Type.Result, { value: r }, [t])
return node
Expand Down

0 comments on commit 9411ba1

Please sign in to comment.