Sha256: d027e85854628b05c7cde51aff3cf413f73095480b2afebf6418a9159bc1f110

Contents?: true

Size: 698 Bytes

Versions: 43

Compression:

Stored size: 698 Bytes

Contents

/*jsl:option explicit*/
function control_comments() {
    /* "legal" - can do anything */
    /*jsl:ignore*/
    var a;
    if (a);
       var b = a = b+++a;
       var a = b;
    /*jsl:end*/
    /*@ignore@*/
    var a;
    if (a);
       var b = a = b+++a;
       var a = b;
    /*@end@*/

    /* legal - case doesn't matter */
    /*Jsl:IGNORE*/
    asdf = asdf;
    /*JSL:End*/

    /* illegal - not ending anything */
    /*jsl:end*/ /*warning:mismatch_ctrl_comments*/

    /* illegal - can't start twice */
    /*jsl:ignore*/
    /*jsl:ignore*/ /*warning:mismatch_ctrl_comments*/
    /*jsl:end*/

    /* illegal - don't forget to end */
    /*jsl:ignore*/
}
/*warning:mismatch_ctrl_comments*/

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
distil-0.8.1 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.8.0 vendor/jsl-0.3.0/tests/control_comments/control_comments.js
distil-0.7.0 vendor/jsl-0.3.0/tests/control_comments/control_comments.js