diff --git a/Objective-J/ObjJAcornCompiler.js b/Objective-J/ObjJAcornCompiler.js index b1e819d21..f18dc6387 100644 --- a/Objective-J/ObjJAcornCompiler.js +++ b/Objective-J/ObjJAcornCompiler.js @@ -398,7 +398,7 @@ var ObjJAcornCompiler = function(/*String*/ aString, /*CFURL*/ aURL, /*unsigned* { var dict = new CFMutableDictionary(); dict.addValueForKey('line', e.line); - dict.addValueForKey('path', this.URL.absoluteString()); + dict.addValueForKey('path', this.URL.path()); dict.addValueForKey('message', message); print(CFPropertyListCreateXMLData([dict], kCFPropertyListXMLFormat_v1_0).rawString()); @@ -468,7 +468,7 @@ ObjJAcornCompiler.prototype.compilePass2 = function() { var dict = new CFMutableDictionary(); dict.addValueForKey('line', warning.line) - dict.addValueForKey('path', this.URL.absoluteString()) + dict.addValueForKey('path', this.URL.path()) dict.addValueForKey('message', message) warnings.push(dict); @@ -698,7 +698,7 @@ ObjJAcornCompiler.prototype.error_message = function(errorMessage, node) { var dict = new CFMutableDictionary(); dict.addValueForKey('line', pos.line); - dict.addValueForKey('path', this.URL.absoluteString()); + dict.addValueForKey('path', this.URL.path()); dict.addValueForKey('message', errorMessage); return CFPropertyListCreateXMLData([dict], kCFPropertyListXMLFormat_v1_0).rawString();