[Gretl-devel] bug which is new in 1.7.4
Allin Cottrell
cottrell at wfu.edu
Thu Apr 3 14:04:17 EDT 2008
On Thu, 3 Apr 2008, Riccardo (Jack) Lucchetti wrote:
> > This probably isn't your case, but I remember I ran into this
> > once, only to discover, after many swearwords, that I had and
> > "if" without an "endif" somewhere.
>
> tiny script exposing the problem:
>
> <script>
> nulldata 10
> a = 3
> loop 33
> if a>1
> print a
> end loop
> </script>
In CVS, we now have a guard against unmatched "if" for loops,
user-defined functions, and entire scripts. Please report if
anything seems to be wrong with this.
We also try to ensure that the "if stack" gets destroyed on error.
Allin.
More information about the Gretl-devel
mailing list