yoctoproject / vscode-bitbake

Bitbake language support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake
Other
45 stars 10 forks source link

Chore: Update tree-sitter-bitbake #304

Closed idillon-sfl closed 3 months ago

idillon-sfl commented 3 months ago

The new version fixes shell variable expansions outside of strings:

foo() {
  echo ${bar}
}

Note the commit that fixes the issue on the tree-sitter-bitbake's branch claims to fix the opposite (variable expansions inside of strings outside of strings). That's because I deleted a commit that "inverted" the issue. The new solution makes sure it works in both cases, and several tests have been added to prevent eventual regressions.