<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 39: Jacl should display line number on error</title><link href="https://sourceforge.net/p/tcljava/bugs/39/" rel="alternate"/><link href="https://sourceforge.net/p/tcljava/bugs/39/feed.atom" rel="self"/><id>https://sourceforge.net/p/tcljava/bugs/39/</id><updated>2006-08-22T21:22:20Z</updated><subtitle>Recent changes to 39: Jacl should display line number on error</subtitle><entry><title>Jacl should display line number on error</title><link href="https://sourceforge.net/p/tcljava/bugs/39/" rel="alternate"/><published>2006-08-22T21:22:20Z</published><updated>2006-08-22T21:22:20Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netad5a69e8e09d5de0a8720dd7cabcba8f2ec16342</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When running TCL/Jacl-based scripts, it is often&lt;br /&gt;
difficult to determine where a particular problem is&lt;br /&gt;
without the help of line numbers in the error message.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Here is an example script (named blah.tcl):&lt;/p&gt;
&lt;p&gt;puts "hi"&lt;br /&gt;
set blah [[]&lt;br /&gt;
puts "bye"&lt;/p&gt;
&lt;p&gt;Here is the output of running this script:&lt;/p&gt;
&lt;p&gt;C:\dev\jacl\bin&amp;gt;jaclsh blah.tcl&lt;br /&gt;
hi&lt;br /&gt;
missing close-bracket&lt;/p&gt;
&lt;p&gt;In this example it is easy to tell that the problem is&lt;br /&gt;
on line 2, but in larger script files, this can be more&lt;br /&gt;
difficult to determine.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;The output should read something like:&lt;br /&gt;
missing close-bracket on line 2:&lt;br /&gt;
set blah [[]&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>