Skip to content

Cannot correctly handle a case with pathological braces nesting #1

@CXuesong

Description

@CXuesong

Consider the following case

{{{{{arg}}

which should be parsed as

[{{{] {{ [arg] }}

But my parser handles it as

[{] {{{ [{arg] }}

The corresponding test case is UnitTestProject1.AbnormalCaseTests.TestBraces3.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions