lib/dentaku/tokenizer.rb in dentaku-3.3.4 vs lib/dentaku/tokenizer.rb in dentaku-3.4.0
- old
+ new
@@ -102,9 +102,9 @@
"unexpected zero-width match (:#{meta.fetch(:category)}) at '#{meta.fetch(:at)}'"
else
raise ::ArgumentError, "Unhandled #{reason}"
end
- raise TokenizerError.for(reason, meta), message
+ raise TokenizerError.for(reason, **meta), message
end
end
end