diff options
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/transcode-tblgen.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb index 0fc89a7f05..48407ac3df 100755 --- a/tool/transcode-tblgen.rb +++ b/tool/transcode-tblgen.rb @@ -69,6 +69,16 @@ class Action @value = value end attr_reader :value + + def hash + @value.hash + end + + def eql?(other) + self.class == other.class && + @value == other.value + end + alias == eql? end class ActionMap |