Permalink
Browse files

fix off-by-one that was causing single-character expressions to be ig…

…nored
  • Loading branch information...
1 parent ae2062c commit b062a1301427897c11d25c8d5d3f4e5c5ac22721 Mental committed May 17, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bin/sirb.rb
View
@@ -84,7 +84,7 @@ def print_bytecodes(bc)
line += 1
if str.size == 0
context = ""
- elsif context.size > 1
+ elsif context.size > 0
begin
# Enlarge locals as needed.
if compiler_state.locals.size >= locals.fields

0 comments on commit b062a13

Please sign in to comment.