Bug Report 2002/02/24-v1.0b28-br01

[forum ]
[Win98 Setup Bug]
Bug Report id=2002/02/24-v1.0b28-br01
Affected versions:v1.0b28 and previous versions

Bug Description

The ScriptBasic interpreter does not recognize syntax error when an expression list is finished with a trailing comma. For example
print "hello",

is accepted by the interpreter and is executed as the trailing comma was not there.

Bug Reason, What Causes the Bug

Coding error in the syntax analysis of expression lists. The code returns error if there is an error in the first expression but does not if there is an error in any of the following expressions.


The next release will deliver a corrected version. The modification to the file expression.c needed:
>     if( r->rest == NULL )return NULL;

Bug Workaround Until Solution is Available

There is no need for workaround.



This page was generated January 28, 2010 9:58:44