Fix unquoted string with escaped characters #21

Closed
opened 2023-06-21 17:22:35 +03:00 by pleshevskiy · 0 comments
Owner
hello\[world\]

Expected

    (source_file
      (shape
        (shape_key
          (escape_sequence) 
          (escape_sequence)
        )
      )
    )

Actual

    (source_file
      (shape
        (shape_key
          (escape_sequence)
          (ERROR)
          (escape_sequence)
        )
      )
    )
```d2 hello\[world\] ``` ### Expected ``` (source_file (shape (shape_key (escape_sequence) (escape_sequence) ) ) ) ``` ### Actual ``` (source_file (shape (shape_key (escape_sequence) (ERROR) (escape_sequence) ) ) ) ```
pleshevskiy added the
C
bug
A
grammars
labels 2023-06-21 17:22:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: pleshevskiy/tree-sitter-d2#21
No description provided.