Closed ahelwer closed 3 years ago
The last land symbol should be part of the nested conjunction list, but it is not:
op ≜ ∧ A ∧ ∧ B ∧ C
instead, it will only be part of the jlist if it is like this:
This only occurs when the nested jlist starts on the same line as the outer jlist, so this works fine:
The behavior is identical with disjunction lists.
The behavior also occurs if there are prior unicode symbols on the line, like:
op ≜ ∧ A ∧ B
Probable cause: https://github.com/tree-sitter/tree-sitter/issues/1405 Also noticed some weird misbehavior when directly comparing L'∧' with lexer->lookahead; might need to use L'\u2227' instead.
L'∧'
lexer->lookahead
L'\u2227'
The last land symbol should be part of the nested conjunction list, but it is not:
instead, it will only be part of the jlist if it is like this:
This only occurs when the nested jlist starts on the same line as the outer jlist, so this works fine:
The behavior is identical with disjunction lists.
The behavior also occurs if there are prior unicode symbols on the line, like: