mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-20 21:49:22 +00:00
Fixed other fragment_create_file() calls to match recent changes.
Reviewed by me.
This commit is contained in:
1 parent
964cb66fa8
commit
fcc1be118e
3 files changed
+4
-5
No files matched your search
@@ -25,8 +25,7 @@ var objj_included_files = { };
|
||||
var FRAGMENT_CODE = 1,
|
||||
|
||||
FRAGMENT_FILE = 1 << 2,
|
||||
FRAGMENT_LOCAL = 1 << 3,
|
||||
FRAGMENT_IMPORT = 1 << 4;
|
||||
FRAGMENT_LOCAL = 1 << 3;
|
||||
|
||||
function objj_fragment()
|
||||
{
|
||||
|
||||
@@ -496,7 +496,7 @@ function objj_preprocess_tokens(tokens, terminator, instigator, segment)
|
||||
else
|
||||
objj_exception_throw(new objj_exception(OBJJParseException, "*** Expecting '<' or '\"', found \"" + token + "\"."));
|
||||
|
||||
fragments.push(fragment_create_file(path, NULL, isLocal, YES, tokens.file));
|
||||
fragments.push(fragment_create_file(path, NULL, isLocal, tokens.file));
|
||||
}
|
||||
// Safari can't handle function declarations of the form function [name]([arguments]) { }
|
||||
// in evals. It requires them to be in the form [name] = function([arguments]) { }. So we
|
||||
|
||||
@@ -59,9 +59,9 @@ function objj_decompile(aString, bundle)
|
||||
break;
|
||||
case MARKER_CODE: file.fragments.push(fragment_create_code(text, bundle, file));
|
||||
break;
|
||||
case MARKER_IMPORT_STD: file.fragments.push(fragment_create_file(text, bundle, NO, YES, file));
|
||||
case MARKER_IMPORT_STD: file.fragments.push(fragment_create_file(text, bundle, NO, file));
|
||||
break;
|
||||
case MARKER_IMPORT_LOCAL: file.fragments.push(fragment_create_file(text, bundle, YES, YES, file));
|
||||
case MARKER_IMPORT_LOCAL: file.fragments.push(fragment_create_file(text, bundle, YES, file));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user