Hello,

Before possibly posting a bug report, i would like to know if the following change from Scilab 5.5.2 to 6.0.0 is an expected restriction, or an unexpected one -- so a bug.


Scilab 5.5.2 accepts the following:

-->a = [
-->1  // line #1
-->2, // line #2
-->]
 a  =
    1.
    2.

while Scilab 6.0.0 does not:

--> a = [
  > 1 // line #1
  > 2, // line #2
  > ]
2, // line #2
             ^
Error: syntax error, unexpected line comment

Please note that the appended comment passes if it does not follow a comma.
And that an error is generated even if the last row does not end with a comma.

--> a = [
  > 1, // line #1
  > 2]
1, // line #1
             ^
Error: syntax error, unexpected line comment

Regards
Samuel



_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to