In ANTLR, there is no such restriction on the name of a labeled alternative that it cannot start with the name of its container rule. The only restriction is that it cannot match completly with any rule name. The patch removes such a mistaken restriction from the Grammarinator parse implementation.
coverage: 88.321%. remained the same
when pulling 9828564f4ca1123be10d5d48d1e747243411da2e on label-prefix
into 12c9daaaa0c1c5aa521c64e7cfe3d55053360c6b on master.
In ANTLR, there is no such restriction on the name of a labeled alternative that it cannot start with the name of its container rule. The only restriction is that it cannot match completly with any rule name. The patch removes such a mistaken restriction from the Grammarinator parse implementation.