mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-12 21:51:28 +00:00
Fixed: used url path (/Users/..) instead of absoluth path (file://Users/..) in the xml output format of objj
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user