jcberquist / commandbox-cfformat

A CommandBox module for formatting CFML component files.
MIT License
22 stars 10 forks source link

`static` is not supported #60

Closed elpete closed 4 years ago

elpete commented 4 years ago

This component fails to be parsed.

component {

    static {
        foo = "bar";
    }

}

https://docs.lucee.org/guides/lucee-5/component-static.html

jcberquist commented 4 years ago

This should be fixed in v0.13.8, the scopes assigned to the block start and end turned out to be unbalanced which threw everything off - I updated the underlying syntax to take care of this.