Skip to content

Commit

Permalink
Compiler: fix on Ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
noteflakes committed Feb 19, 2024
1 parent 169717c commit 384f826
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/papercraft/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,11 @@ def parse_sym(node)
emit_literal(value.inspect)
end

def parse_integer(node)
value = node.children.first
emit_literal(value.inspect)
end

def parse_true(node)
emit_expression { emit_literal('true') }
end
Expand Down

0 comments on commit 384f826

Please sign in to comment.