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

failed parse

Open wanghekai opened this issue 5 years ago • 2 comments

failed parse like this exec {fd}<>$fd_nic_pipe

wanghekai avatar May 20 '19 03:05 wanghekai

Thanks for reporting this issue. It seems to be a grammar issue. What would you call this <> construct?

Can you create an issue over here: https://github.com/tree-sitter/tree-sitter-bash

skovhus avatar Sep 23 '19 19:09 skovhus

What would you call this <> construct?

https://www.gnu.org/software/bash/manual/bash.html#Opening-File-Descriptors-for-Reading-and-Writing (section 3.6.10)

vike2000 avatar Feb 29 '20 18:02 vike2000

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

skovhus avatar Nov 25 '22 13:11 skovhus