summaryrefslogtreecommitdiff
path: root/template/transdb.h.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/transdb.h.tmpl')
-rw-r--r--template/transdb.h.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/transdb.h.tmpl b/template/transdb.h.tmpl
index 16565dd638..990a8639d0 100644
--- a/template/transdb.h.tmpl
+++ b/template/transdb.h.tmpl
@@ -44,9 +44,9 @@ transdirs.each do |transdir|
from_to = "%s to %s" % [$1, $2]
if converters[from_to]
raise ArgumentError, '%s:%d: transcode "%s" is already registered at %s:%d' %
- [path, $., from_to, *converters[from_to].values_at(3, 4)]
+ [path, f.lineno, from_to, *converters[from_to].values_at(3, 4)]
else
- converters[from_to] = [$1, $2, fn[0..-3], path, $.]
+ converters[from_to] = [$1, $2, fn[0..-3], path, f.lineno]
converter_list << from_to
end
end