Avoid unnecessary non-terminals
Please refactor the language to
grammar EmbeddedMontiArcMathOpt extends de.monticore.lang.embeddedmontiarc.EmbeddedMontiArcMath, de.monticore.lang.MathOpt{
start EMAMCompilationUnit;
}
in order to avoid EMAMOptCompilationUnit
non-terminal
Listing 4.25 http://monticore.de/MontiCore_Reference-Manual.2017.pdf