LanguageDev / Yoakke

A collection of libraries for implementing compilers in .NET.
Apache License 2.0
141 stars 8 forks source link

Incorrect rule breaks source generator #158

Open kant2002 opened 4 months ago

kant2002 commented 4 months ago

Describe the bug I create following rule

[Rule($"comma_identifier_references_list : ({IdentifierReference} ('and' {IdentifierReference})*))")]

It breaks compilation in subtle way and source generator fails. Because it fails it produce tons of unrelated errors.