[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11335: line with too many colons fools next-error
From: |
積丹尼 Dan Jacobson |
Subject: |
bug#11335: line with too many colons fools next-error |
Date: |
Fri, 18 Oct 2019 17:04:52 +0800 |
>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:
LI> jidanni@jidanni.org writes:
>> C-x ` runs the command next-error, which is an interactive compiled
>>
>> However it is fooled by the second of these error lines, skipping over it.
>>
>> make -k
>> perl -nwe 'next if (length) < 32; print "$ARGV:$.:$_"; $bad=1;END{die
>> if $bad}' 201204CS
>> 201204CS:1:.....................................
>> 201204CS:55:14:00~17:00 (13:50開始開放入場)
>> 201204CS:108:.....................................
>> Died at -e line 1, <> line 108.
>> END failed--call queue aborted, <> line 108.
>> make: *** [check_length] Error 22
LI> How do you replicate this error?
Real simple.
$ cat /tmp/b
make -k
perl -nwe 'next if (length) < 32; print "$ARGV:$.:$_"; $bad=1;END{die
if $bad}' 201204CS
201204CS:1:.....................................
201204CS:55:14:00~17:00 (13:50開始開放入場)
201204CS:108:.....................................
Died at -e line 1, <> line 108.
END failed--call queue aborted, <> line 108.
make: *** [check_length] Error 22
$ emacs -nw -Q -eval '(compile "cat /tmp/b")'
See how the second error line is a different color?