<div class="gmail_quote">On Wed, May 23, 2012 at 7:10 AM, cm <span dir="ltr"><<a href="mailto:xiao.ao.jiang.hu.cm@gmail.com" target="_blank">xiao.ao.jiang.hu.cm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
;;; Loading "D:/ECL/code/hello.lisp"<br>
<br>"hi"<br>Condition of type: SIMPLE-READER-ERROR<br>Reader error in file #<input stream #P"D:/ECL/code/hello.lisp">, position 30:<br>Too many objects after a list dot</blockquote></div><br clear="all">
<div>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.</div>
<div><br></div><div>Juanjo</div><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>