usethesource / rascal

The implementation of the Rascal meta-programming language (including interpreter, type checker, parser generator, compiler and JVM based run-time system)
http://www.rascal-mpl.org
Other
394 stars 77 forks source link

Can't write concrete syntax hole for single character classes #1945

Open jurgenvinju opened 1 month ago

jurgenvinju commented 1 month ago

Describe the bug

lexical X = [A-Z] [a-z];

and now I'd like to write:

(X) `<[A-Z] a><[a-z] b>`

But this produces parse errors in the concrete fragment.