Skip to content

[bug] incorrect start location in many nodes #208

Description

@alexander-akait

Input:

while (true) // Comment
{
};

Currently while node starts with test node location, but should be start with while keyword. Same for other control structures. It would be great if you show how to fix such things (send a PR with fix) and i will start fix it self and send new PRs. This would speed up problem solving.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ASTbuginvestigatingminorMinor issue - does not impact the parser too much (edge cases)

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions