Fix for some files showing up as anonymous.

Reviewed by tlrobinson.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2010-02-22 14:27:30 -08:00
1 parent d879b25458
commit 7defdd2a00
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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;
}