tree-sitter-grammars / tree-sitter-bitbake

BitBake grammar for tree-sitter
MIT License
15 stars 6 forks source link

Inside a bash function, a bracket inside a string or a comment will give an error #13

Closed idillon-sfl closed 10 months ago

idillon-sfl commented 1 year ago

A bracket inside a string inside a function gives an error

d() {
  t = '{'
}

A bracket inside a comment gives an error

do() {
  # {
}

It does work inside python functions, though

Thank you

amaanq commented 1 year ago

I'll fix the string one tomorrow, comment one should be fixed and I pushed a bunch of fixes just now