Skip to content
Browse files

Fix weird symbol/keyword (true, false, nil) mixup.

  • Loading branch information...
1 parent 7cb60f8 commit 7a7802b58e4dc660a97cdd23e8b09faf1463eb75 @solson solson committed Apr 20, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/apricot/ast/literals.rb
View
4 lib/apricot/ast/literals.rb
@@ -62,6 +62,10 @@ def bytecode(g)
pos(g)
g.push_literal @value
end
+
+ def to_value
+ @value
+ end
end
class StringLiteral < Literal

0 comments on commit 7a7802b

Please sign in to comment.
Something went wrong with that request. Please try again.