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

RobotFramework lexer throws away empty braces after list/dict variable #1922

Closed
Leistungsabfall opened this issue Oct 20, 2021 · 0 comments · Fixed by #1921
Closed

RobotFramework lexer throws away empty braces after list/dict variable #1922

Leistungsabfall opened this issue Oct 20, 2021 · 0 comments · Fixed by #1921
Milestone

Comments

@Leistungsabfall
Copy link
Contributor

Given the following input, the RobotFramework lexer throws away the empty index (empty braces):

Input:

*** Variables ***
@{test}[]

Output:

*** Variables ***
@{test}

Note the missing braces at the end.

This can easily be verified using the pygments online demo by selecting the RobotFramework lexer and feeding it with the input above.

A fix is available here: #1921

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants