diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/color.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/color.rb b/lib/irb/color.rb index 92bbd9ebd5..3ce628ff24 100644 --- a/lib/irb/color.rb +++ b/lib/irb/color.rb @@ -205,7 +205,7 @@ module IRB # :nodoc: def scan_token(token) prev_state = @stack.last case token - when :on_symbeg + when :on_symbeg, :on_symbols_beg, :on_qsymbols_beg @stack << true when :on_ident, :on_op, :on_const, :on_ivar, :on_cvar, :on_gvar, :on_kw if @stack.last # Pop only when it's Symbol |