Skip to content

Commit 4541f4e

Browse files
committed
Improve debug info
1 parent ed9e40b commit 4541f4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,9 @@ def compile_eval_arg(scope, arg)
451451
if arg.respond_to?(:position) && arg.position != nil
452452
pos = arg.position.inspect
453453
if pos != @lastpos
454-
@e.lineno(arg.position)
454+
if arg[0] != :defm
455+
@e.lineno(arg.position)
456+
end
455457
# trace(arg.position,arg)
456458
end
457459
@lastpos = pos

0 commit comments

Comments
 (0)