haidubogdan / netbeans-php-blade-plugin

Netbeans 18+ module plugin for php blade template files
Apache License 2.0
26 stars 4 forks source link

`Unclosed @if` when `@endif` exists #36

Closed angeljqv closed 6 months ago

angeljqv commented 6 months ago

Try this, but separately, imagine that they are inside some loop

@if(true) @continue @endif

@if(true) @break @endif

@if(true) 
    @break @endif

@if(true) 
    @continue @endif
haidubogdan commented 6 months ago

It was interesting case. @continue and @break can also take parameters and the parser didn't treat an inline use case correctly. It should be fixed with : https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb180-v.2.0.6