From 7defdd2a00f3e966b837fb311f128eae7d02adc5 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Mon, 22 Feb 2010 14:27:30 -0800 Subject: [PATCH] Fix for some files showing up as anonymous. Reviewed by tlrobinson. --- Objective-J/FileExecutable.js | 2 +- Objective-J/Preprocessor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Objective-J/FileExecutable.js b/Objective-J/FileExecutable.js index e2b486b5a..9f5fe6d59 100644 --- a/Objective-J/FileExecutable.js +++ b/Objective-J/FileExecutable.js @@ -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); diff --git a/Objective-J/Preprocessor.js b/Objective-J/Preprocessor.js index fec6b2758..e07ccf75a 100644 --- a/Objective-J/Preprocessor.js +++ b/Objective-J/Preprocessor.js @@ -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; }