Commit 60db3d6d authored by Rob Pike's avatar Rob Pike

don't print (incorrect anyway) line numbers in panic.

R=rsc
DELTA=4  (0 added, 2 deleted, 2 changed)
OCL=19757
CL=19763
parent 0444d697
......@@ -23,9 +23,7 @@ sys·panicl(int32 lno)
{
uint8 *sp;
prints("\npanic on line ");
sys·printint(lno);
prints(" ");
prints("\npanic ");
sys·printpc(&lno);
prints("\n");
sp = (uint8*)&lno;
......
......@@ -146,7 +146,7 @@ BUG: should compile
=========== bugs/bug119.go
3 74256
panic on line 85 PC=xxx
panic PC=xxx
BUG: should not fail
=========== bugs/bug120.go
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment