• Actually that just about makes sense, based on the assumption that "--" is ignored within block comments

    so in this code:

    /*

    print '1'

    --/**/note unmatched block comment marker on this line, following an inline comment marker

    print '2'

    */

    print '3'

    ... line 1 opens a comment block

    print '1' is within the comment block so it doesn't print

    on the line starting with "--" , the system ignores "--" , it then finds a complete (but empty) nested block comment ; followed by some text. The text is outside the nested comment, but INSIDE the original comment block that was started on line 1, so it does not cause an error.

    print '2' is still within the original comment block

    the next line ends the original comment block

    and print '3' then executes