bash-language-server icon indicating copy to clipboard operation
bash-language-server copied to clipboard

Failed to parse expression: multi-line strings with eval string

Open 0x5a17ed opened this issue 5 years ago • 1 comments

The following snippets causes bash-language-server to fail parsing the entire document it seems. Vscode highlights the entire file to have a syntax error.

main() {
    local foo="asd"`
        `"fgh"
}

Bildschirmfoto von 2019-05-11 10-14-50

0x5a17ed avatar May 11 '19 08:05 0x5a17ed

Thanks for reporting this issue. It seems to be a grammar issue.

I create an issue: tree-sitter/tree-sitter-bash#59

skovhus avatar Sep 23 '19 19:09 skovhus

This seems to have been fixed in the newer version of the grammar

skovhus avatar Nov 25 '22 13:11 skovhus