From svetosch@gmx.net Mon Jan 22 08:54:32 2007 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] scripting-related Date: Mon, 22 Jan 2007 14:54:20 +0100 Message-ID: <45B4C20C.5090808@gmx.net> In-Reply-To: Pine.LNX.4.64.0701202213120.20912@ricardo.ecn.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5785338687855222273==" --===============5785338687855222273== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Sun, 21 Jan 2007, Sven Schreiber wrote: > > >> And while I'm at it, during function-debugging I often have to close and >> restart gretl because it starts reporting nonsense errors (that go away >> just by re-loading everything) after the first function error has >> occurred. I know that's a pretty vague bug report, but it seems that >> gretl may need to clean up its internals a little more after it >> encountered a function error... > > OK, thanks for the tip, I'll try some experiments. > Here's an example script: The first time you run it, gretl correctly complains about a syntax error. The next time it wrongly complains about "You can't define a function within a function", obviously because it is still "inside" the function body, not having reached "end function" before. HTH, sven --===============5785338687855222273==--