Fix regression of 226da4.
This commit is contained in:
parent
226da453fc
commit
74825d2d1a
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ void JAVASCRIPT::main(int argc, char *argv[]) {
|
||||||
Swig_mark_arg(i);
|
Swig_mark_arg(i);
|
||||||
engine = JSEmitter::JavascriptCore;
|
engine = JSEmitter::JavascriptCore;
|
||||||
} else if (strcmp(argv[i], "-node") == 0) {
|
} else if (strcmp(argv[i], "-node") == 0) {
|
||||||
if (engine) {
|
if (engine != -1) {
|
||||||
Printf(stderr, ERR_MSG_ONLY_ONE_ENGINE_PLEASE);
|
Printf(stderr, ERR_MSG_ONLY_ONE_ENGINE_PLEASE);
|
||||||
SWIG_exit(-1);
|
SWIG_exit(-1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue