Skip to content

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

@Leistungsabfall

Description

@Leistungsabfall

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions