metaborg / spt

Apache License 2.0
0 stars 8 forks source link

Ignore empty IStrategoList as selection terms #2

Closed martijndwars closed 9 years ago

martijndwars commented 9 years ago

Spoofax may tokenize an empty list followed by a marker as "<< [[>><<>><><<]]>>" where <<>> denotes the empty list. Unfortunately, this empty list appears inside the marker, causing the empty list to be part of what is marked. This is a quick & dirty fix that prevents empty lists from being matched.

See: http://yellowgrass.org/issue/Spoofax/771