diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-09 04:30:23 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-09 04:30:23 +0200 |
commit | 57ffbc753f8e7fd676a13bf5960043b23ee1d5ed (patch) | |
tree | cfb73211300335d29a384f94d64ed748fe18bb09 | |
parent | 32b0cf52784f99e85527522a3dd1f70c26d26a4f (diff) | |
download | coderay-57ffbc753f8e7fd676a13bf5960043b23ee1d5ed.tar.gz |
unfreeze TokenKinds hash, allow changes
-rw-r--r-- | Changes.textile | 1 | ||||
-rwxr-xr-x | lib/coderay/token_kinds.rb | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Changes.textile b/Changes.textile index 3984b83..6c643cc 100644 --- a/Changes.textile +++ b/Changes.textile @@ -7,6 +7,7 @@ h2. Changes in 1.1 * Diff scanner: Highlight inline changes in multi-line changes [#99] * Remove double-click toggle handler from HTML table output * Display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom] +* @CodeRay::TokenKinds@ should not be frozen [#130, thanks to Gavin Kistner] h2. Changes in 1.0.9 diff --git a/lib/coderay/token_kinds.rb b/lib/coderay/token_kinds.rb index 3b8d07e..8db8530 100755 --- a/lib/coderay/token_kinds.rb +++ b/lib/coderay/token_kinds.rb @@ -85,6 +85,4 @@ module CodeRay TokenKinds[:method] = TokenKinds[:function] TokenKinds[:escape] = TokenKinds[:delimiter] TokenKinds[:docstring] = TokenKinds[:comment] - - TokenKinds.freeze end |