mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 01:18:02 +00:00
Fix for some files showing up as anonymous.
Reviewed by tlrobinson.
This commit is contained in:
1 parent
d879b25458
commit
7defdd2a00
2 files changed
+2
-2
No files matched your search
@@ -39,7 +39,7 @@ function FileExecutable(/*String*/ aPath)
|
||||
executable = decompile(fileContents, aPath);
|
||||
|
||||
else if (extension === ".j" || extension === "")
|
||||
executable = exports.preprocess(fileContents, aPath, Preprocessor.OBJJ_PREPROCESSOR_DEBUG_SYMBOLS);
|
||||
executable = exports.preprocess(fileContents, aPath, Preprocessor.Flags.IncludeDebugSymbols);
|
||||
|
||||
else
|
||||
executable = new Executable(fileContents, [], aPath);
|
||||
|
||||
@@ -184,7 +184,7 @@ Preprocessor.Flags.IncludeTypeSignatures = 1 << 1;
|
||||
Preprocessor.prototype.executable = function()
|
||||
{
|
||||
if (!this._executable)
|
||||
this._executable = new Executable(this._buffer.toString(), this._dependencies);
|
||||
this._executable = new Executable(this._buffer.toString(), this._dependencies, this._filePath);
|
||||
|
||||
return this._executable;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user