<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>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.</p>
    <p>Scilab 5.5.2 accepts the following:</p>
    <p><font size="-1"><tt>-->a = [</tt><tt><br>
        </tt><tt>-->1  // line #1</tt><tt><br>
        </tt><tt>-->2, // line #2</tt><tt><br>
        </tt><tt>-->]</tt><tt><br>
        </tt><tt> a  =</tt><tt><br>
        </tt><tt>    1.  </tt><tt><br>
        </tt><tt>    2.  </tt><tt><br>
        </tt></font></p>
    <p>while Scilab 6.0.0 does not:<br>
    </p>
    <p><font size="-1"><tt>--> a = [</tt><tt><br>
        </tt><tt>  > 1 // line #1</tt><tt><br>
        </tt><tt>  > 2, // line #2</tt><tt><br>
        </tt><tt>  > ]</tt><tt><br>
        </tt><tt>2, // line #2</tt><br>
                     ^<br>
        Error: syntax error, unexpected line comment</font></p>
    <p>Please note that the appended comment passes if it does not
      follow a comma.<br>
      And that an error is generated even if the last row does not end
      with a comma.<br>
    </p>
    <p><font size="-1"><tt>--> a = [<br>
            > 1, // line #1<br>
            > 2]<br>
          1, // line #1<br>
                       ^<br>
          Error: syntax error, unexpected line comment<br>
        </tt></font><br>
    </p>
    <p>Regards<br>
      Samuel</p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>