Merge branch 'master' into desktop

This commit is contained in:
Francisco Ryan Tolmasky I
2009-09-23 03:45:29 -07:00
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ with (window)
"OBJJ_PREPROCESSOR_DEBUG_SYMBOLS",
"objj_data",
"CPPropertyListCreateData", "CPPropertyListCreateFromData",
"kCFPropertyListXMLFormat_v1_0", "kCFPropertyList280NorthFormat_v1_0"
"kCFPropertyListXMLFormat_v1_0", "kCFPropertyList280NorthFormat_v1_0",
"objj_dictionary"
].forEach(function(v) {
exports[v] = eval(v);
});
+3 -1
View File
@@ -45,7 +45,9 @@ exports.preprocess = function(inFile, outFile, flags, gccArgs)
shouldCheckSyntax = flags & OBJJ_PREPROCESSOR_SYNTAX,
shouldCompress = flags & OBJJ_PREPROCESSOR_COMPRESS;
var gccCommand = "gcc -E -x c -P " + (gccArgs.join(" ") || "") + " " + inFile;
gccArgs = gccArgs ? gccArgs.join(" ") : "";
var gccCommand = "gcc -E -x c -P " + gccArgs + " " + inFile;
if (!shouldObjjPreprocess)
{