Single-line comments are recognized in multi-line comments, so multi-line comments cannot be closed after //
This program:
module test
/* // */
Start = 37
Fails to compile with:
Parse error [test.icl,5;0,Definition]: Unexpected token in input: definition expected instead of Scanner error: end of file encountered inside comment
My guess is that the //
is recognized as the start of a single-line comment and hence the closing */
is ignored.
This problem is present in both the current master and the current itask compiler.
Edited by Camil Staps