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

IDL parser fails on space between * and / #159

Open
albertyw opened this issue Aug 20, 2019 · 0 comments
Open

IDL parser fails on space between * and / #159

albertyw opened this issue Aug 20, 2019 · 0 comments

Comments

@albertyw
Copy link
Member

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.

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

No branches or pull requests

1 participant