From b41c26d78ab813debcba35478f0a97468233570c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 31 Aug 2008 16:01:10 +0000 Subject: 25570: line numbers of complex sublists were wrong, plus test make lineno zlong in another place --- Test/C03traps.ztst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Test/C03traps.ztst') diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst index 1e0b4088f..f0bfd296a 100644 --- a/Test/C03traps.ztst +++ b/Test/C03traps.ztst @@ -429,6 +429,16 @@ 1:Skip assignment from DEBUG trap >5 three + fn() { + setopt localtraps localoptions debugbeforecmd + trap 'print $LINENO' DEBUG + [[ a = a ]] && print a is ok + } + fn +0:line numbers of complex sublists +>3 +>a is ok + %clean rm -f TRAPEXIT -- cgit 1.4.1