// add semicolon if input was successfully parsed
// THIS IS SIMPLY WRONG!!!!
for (ResultNode x : res.findByState(State.MATCH)) {
if (x.remainingInput.isConsumedOrOnlyWSLeft()) {
result.add(new SimpleProposal(";"));
break;
}
}
result.addAll(mapProposals(res));