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; }