Correct exception text: use "token" rather than "type" to refer to the kind of token.
@@ -1265,7 +1265,7 @@ public class CodeGenerator {
cc.endStatement(true);
break;
default:
- throw new RuntimeException("Unknown type " + type + "\n" + n.toStringTree());
+ throw new RuntimeException("Unknown token " + type + "\n" + n.toStringTree());
}
cc.endSourceMapping(n);
