Skip to content

Commit 57ffbc7

Browse files
committed
unfreeze TokenKinds hash, allow changes
1 parent 32b0cf5 commit 57ffbc7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Changes.textile

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ h2. Changes in 1.1
77
* Diff scanner: Highlight inline changes in multi-line changes [#99]
88
* Remove double-click toggle handler from HTML table output
99
* Display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom]
10+
* @CodeRay::TokenKinds@ should not be frozen [#130, thanks to Gavin Kistner]
1011

1112
h2. Changes in 1.0.9
1213

lib/coderay/token_kinds.rb

-2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,4 @@ module CodeRay
8585
TokenKinds[:method] = TokenKinds[:function]
8686
TokenKinds[:escape] = TokenKinds[:delimiter]
8787
TokenKinds[:docstring] = TokenKinds[:comment]
88-
89-
TokenKinds.freeze
9088
end

0 commit comments

Comments
 (0)