Better error message when no Javascript emitter is specified.

This commit is contained in:
Oliver Buchtala 2014-02-20 11:15:18 +01:00
commit 48e7df8eb2

View file

@ -533,7 +533,7 @@ void JAVASCRIPT::main(int argc, char *argv[]) {
}
default:
{
Printf(stderr, "Unknown emitter type.");
Printf(stderr, "SWIG Javascript: Unknown emitter type.\n");
SWIG_exit(-1);
break;
}