diff --git a/core/vocabs/loader/loader.factor b/core/vocabs/loader/loader.factor index 2945736f3c..535932fdc7 100644 --- a/core/vocabs/loader/loader.factor +++ b/core/vocabs/loader/loader.factor @@ -75,7 +75,7 @@ require-when-table [ V{ } clone ] initialize : load-conditional-requires ( vocab -- ) vocab-name require-when-vocabs get in? [ require-when-table get [ - [ [ vocab ] all? ] dip + [ [ vocab dup [ source-loaded?>> +done+ = ] when ] all? ] dip [ require ] curry when ] assoc-each ] when ; diff --git a/extra/javascriptcore/ffi/ffi.factor b/extra/javascriptcore/ffi/ffi.factor index 7a038b0883..02847e2fa8 100644 --- a/extra/javascriptcore/ffi/ffi.factor +++ b/extra/javascriptcore/ffi/ffi.factor @@ -41,17 +41,17 @@ TYPEDEF: void* JSObjectConvertToTypeCallback TYPEDEF: uint unsigned TYPEDEF: ushort JSChar -C-ENUM: JSPropertyAttributes +ENUM: JSPropertyAttributes { kJSPropertyAttributeNone 0 } { kJSPropertyAttributeReadOnly 2 } { kJSPropertyAttributeDontEnum 4 } { kJSPropertyAttributeDontDelete 8 } ; -C-ENUM: JSClassAttributes +ENUM: JSClassAttributes { kJSClassAttributeNone 0 } { kJSClassAttributeNoAutomaticPrototype 2 } ; -C-ENUM: JSType +ENUM: JSType kJSTypeUndefined, kJSTypeNull, kJSTypeBoolean, diff --git a/extra/javascriptcore/platforms.txt b/extra/javascriptcore/platforms.txt new file mode 100644 index 0000000000..6e806f449e --- /dev/null +++ b/extra/javascriptcore/platforms.txt @@ -0,0 +1 @@ +macosx