Skip to content

Commit

Permalink
add :BEGIN node for ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
katsyoshi committed Jan 1, 2024
1 parent 2be5249 commit 02a4f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vaporware/compiler/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def to_asm(node, output, method_tree = false)
when :LIT
output.puts " push #{node.children.last}"
return
when :LIST, :BLOCK
when :LIST, :BLOCK, :BEGIN
node.children.each { |n| to_asm(n, output, method_tree) }
return
when :SCOPE
Expand Down

0 comments on commit 02a4f18

Please sign in to comment.