diff options
author | murphy <murphy@rubychan.de> | 2010-05-18 05:48:42 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-05-18 05:48:42 +0000 |
commit | f24a2b9eaf968dd31c614c626888aa8e6e6cfebc (patch) | |
tree | e1c94003bb82948e1b48677aafcaa6b5a42aa5cd /lib/coderay/encoder.rb | |
parent | 043d2a67c8895854415f575817e885e881e9fdaa (diff) | |
download | coderay-f24a2b9eaf968dd31c614c626888aa8e6e6cfebc.tar.gz |
Improved error message for unknown token content type.
Diffstat (limited to 'lib/coderay/encoder.rb')
-rw-r--r-- | lib/coderay/encoder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoder.rb b/lib/coderay/encoder.rb index 716f516..6e32e75 100644 --- a/lib/coderay/encoder.rb +++ b/lib/coderay/encoder.rb @@ -127,7 +127,7 @@ module CodeRay when :end_line end_line kind else - raise 'Unknown token content type: %p' % [content] + raise 'Unknown token content type: %p, kind = %p' % [content, kind] end end |