Fix bugs in lineno() and toString() methods.
Fix bugs in lineno() and toString() methods.

Submitted by:	Dalibor Topic <dtopic@socs.uts.edu.au>

kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe