Added a comment.
This commit is contained in:
parent
e62c6126e9
commit
16a702c0aa
1 changed files with 2 additions and 2 deletions
|
|
@ -1073,8 +1073,8 @@ int JSEmitter::emitSetter(Node *n, bool is_member, bool is_static) {
|
||||||
int JSEmitter::emitConstant(Node *n) {
|
int JSEmitter::emitConstant(Node *n) {
|
||||||
// HACK: somehow it happened under OSX that before everything started
|
// HACK: somehow it happened under OSX that before everything started
|
||||||
// a lot of SWIG internal constants were emitted
|
// a lot of SWIG internal constants were emitted
|
||||||
// This didn't happen on Ubuntu Precise...
|
// This didn't happen on other platforms yet...
|
||||||
// so we
|
// we ignore those premature definitions
|
||||||
if (!State::IsSet(state.global(HAS_TEMPLATES))) {
|
if (!State::IsSet(state.global(HAS_TEMPLATES))) {
|
||||||
return SWIG_ERROR;
|
return SWIG_ERROR;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue