(Elisp)-tree-sitter represents sections of the code it cannot parse as ERRORsymbol tokens. Currently the parser will fail as if a transformation is invalid if any ERROR tokens are present. Instead, we should check if the tokens in an operation contain ERROR, and alert the user that their code is malformed if so.
(Elisp)-tree-sitter represents sections of the code it cannot parse as
ERROR
symbol tokens. Currently the parser will fail as if a transformation is invalid if anyERROR
tokens are present. Instead, we should check if the tokens in an operation containERROR
, and alert the user that their code is malformed if so.