Skip to content

Commit

Permalink
Added stub implementation of 'undef'. undef keyword needs specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilson Bilkovich committed Aug 12, 2007
1 parent 8761af6 commit be906f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/bytecode/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,12 @@ def process_while(x, cond="gif")
restore_condmod(*cm)
end

def process_undef(x)
arg = x.shift
STDERR.puts "undef called with: #{arg}, but not implemented yet"
add "push nil"
end

def process_until(x)
process_while(x, "git")
end
Expand Down
Binary file modified runtime/compiler.rba
Binary file not shown.

0 comments on commit be906f4

Please sign in to comment.