xonixx / intellij-awk

The missing IntelliJ IDEA language support plugin for AWK
https://plugins.jetbrains.com/plugin/17037-awk-support
MIT License
46 stars 2 forks source link

Optimize pins to build the AST in more cases #191

Closed xonixx closed 1 year ago

xonixx commented 1 year ago

For some reason we use pin=2 or pin=6 which prevents from building the AST in the case like

BEGIN {
if
}
function f(){}

Same for for, while, switch, do,delete