Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot name variables that start with "for" or "define". #124

Closed
SSaulenas opened this issue Aug 29, 2024 · 2 comments
Closed

Cannot name variables that start with "for" or "define". #124

SSaulenas opened this issue Aug 29, 2024 · 2 comments
Labels
blocked by 🌳 Blocked by tree-sitter implementation bug Something isn't working

Comments

@SSaulenas
Copy link
Collaborator

For example,

case dateFormat:
    when "YYYYYMMDD"
    then
        formattedDate = STRING(day, "99").
    otherwise
        message "HEEOLOO".
end.

turns into:

case dateFormat:
    when "YYYYYMMDD"
    then for
        mattedDate = STRING(day, "99").
    otherwise
        message "HEEOLOO".
end.

Similarly, if you use "define," it can result in:

case dateFormat:
    when "YYYYYMMDD"
    then define
        mattedDate = STRING(day, "99").
    otherwise
        message "HEEOLOO".
end.

image

@SSaulenas SSaulenas added the bug Something isn't working label Aug 29, 2024
@PauliusKu PauliusKu added the to create 🌳 Create and link tree-sitter ticket label Aug 29, 2024
@eglekaz eglekaz added blocked by 🌳 Blocked by tree-sitter implementation and removed to create 🌳 Create and link tree-sitter ticket labels Aug 30, 2024
@eglekaz
Copy link
Collaborator

eglekaz commented Aug 30, 2024

Description of the issue was added to an existing tree-sitter-abl issue: usagi-coffee/tree-sitter-abl#53

@eglekaz
Copy link
Collaborator

eglekaz commented Sep 3, 2024

Copied the description to issue #113 and closing this one.

@eglekaz eglekaz closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked by 🌳 Blocked by tree-sitter implementation bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants