On Wed, May 23, 2012 at 7:10 AM, cm <xiao.ao.jiang.hu...@gmail.com> wrote:

> ;;; Loading "D:/ECL/code/hello.lisp"
>
> "hi"
> Condition of type: SIMPLE-READER-ERROR
> Reader error in file #<input stream #P"D:/ECL/code/hello.lisp">, position
> 30:
> Too many objects after a list dot


Unfortunately, ECL's streams do not keep line number information. I do not
see how it could be done without adding a significant overhead on the I/O
routines. An alternative would be to adopt Pascal's solution: count the
number of newlines up to that position only when the error is output.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to