summaryrefslogtreecommitdiffstats
path: root/sample/eval.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-23 08:37:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-23 08:37:35 +0000
commite68f544351359c62da09401ae2382ce33aabf741 (patch)
treeb4724e5397cf5da5b554ab5795842a93145a88be /sample/eval.rb
parentb54db8568cae6f5be8b98977a82d11df2d5c8c73 (diff)
downloadruby-e68f544351359c62da09401ae2382ce33aabf741.tar.gz
ruby-e68f544351359c62da09401ae2382ce33aabf741.tar.xz
ruby-e68f544351359c62da09401ae2382ce33aabf741.zip
2000-03-23
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/eval.rb')
-rw-r--r--sample/eval.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/eval.rb b/sample/eval.rb
index b9a54df34..8b582b0fd 100644
--- a/sample/eval.rb
+++ b/sample/eval.rb
@@ -12,7 +12,7 @@ while TRUE
print "ruby| "
next
end
- if l =~ /^\s*(class|module|def|if|case|while|for|begin)\b[^_]/
+ if l =~ /^\s*(class|module|def|if|unless|case|while|until|for|begin)\b[^_]/
indent += 1
end
if l =~ /^\s*end\b[^_]/