cfmlparser icon indicating copy to clipboard operation
cfmlparser copied to clipboard

Nested comments don't work

Open eyk opened this issue 6 years ago • 0 comments

The transformation to cfscript commented some legacy code in. All CF-Versions treat the following code as a comment, the cfmlparser does not. Gist

<!--- comment block
    <!--- inner comment block --->
    <cfthrow messagge="I am in a comment an shouldn't be thrown.">
 --->
/*  comment block
     inner comment block */
     throw( messagge="I am in a comment an shouldn't be thrown." );

Should be

/*  comment block
     inner comment block
     throw( messagge="I am in a comment an shouldn't be thrown." );
 */

Thanks for that great tool!

eyk avatar Jan 20 '20 15:01 eyk