summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/coderay.rb2
-rw-r--r--lib/coderay/tokens.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay.rb b/lib/coderay.rb
index 2f8e4dd..bb6e183 100644
--- a/lib/coderay.rb
+++ b/lib/coderay.rb
@@ -134,7 +134,7 @@ module CodeRay
# Minor: odd for beta, even for stable
# Teeny: development state
# Revision: Subversion Revision number (generated on rake)
- VERSION = '0.7.6'
+ VERSION = '0.7.7'
require 'coderay/tokens'
require 'coderay/scanner'
diff --git a/lib/coderay/tokens.rb b/lib/coderay/tokens.rb
index 26c923f..7d82afb 100644
--- a/lib/coderay/tokens.rb
+++ b/lib/coderay/tokens.rb
@@ -353,7 +353,7 @@ module CodeRay
#
# Returns self.
def << token
- @callback.call token
+ @callback.call(*token)
@size += 1
self
end