Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

IDL parser fails on space between * and / #159

@albertyw

Description

@albertyw

I tried to parse a thrift file with these lines:

/**
 * /
 */

It returned an exception thriftrw.errors.ThriftParserError: Illegal characher '/' at line 1

If I add a different character between the * and the /, it parses correctly.

/**
 * x/
 */

I'm guessing the lexer is ignoring the space between the * and / and doesn't know how to parse a comment with two endings. See also #142.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions