Closed PauliusKu closed 2 months ago
Tree sitter considers only FIELD cName AS CHARACTER
as part of the field_definition
.
The field_definition
should be FIELD cName AS CHARACTER. SERIALIZE-NAME "name"
.
Therefore, in the code
DEFINE TEMP-TABLE ttColumn NO-UNDO
FIELD cName AS CHARACTER. SERIALIZE-NAME "name"
FIELD A AS CHARACTER SERIALIZE-NAME "key"
FIELD B AS CHARACTER SERIALIZE-NAME "key"
FIELD C AS CHARACTER SERIALIZE-NAME "key"
.
all the fields after the first do not get parsed as field definitions but as one abl_statement
:
Fixed with version 0.0.31 of tree-sitter-abl
This:
becomes this:
Probably due to
SERIALIZE-NAME