Fixed: Merged in the same parser and compiler that is used in the objj-runtime that is running on node.

The life will be easier to have the same in both environments.
Warnings and errors now don’t use read only properties for line and column information. So the test cases in Toolstest.j now work in modern JS engines.
It is also easier to set options for the compiler.
This commit is contained in:
Martin Carlberg committed 2016-04-07 10:32:46 +02:00
1 parent 598a6ebaed
commit 530db4e904
15 files changed
+2997 -1331

No files matched your search

+1 -1
View File
@@ -371,7 +371,7 @@ function FileRequest(/*CFURL*/ aURL, onsuccess, onfailure, onprogress)
{
var aFilePath = aURL.toString().substring(5),
OS = require("os"),
gccFlags = require("objective-j").currentGccCompilerFlags(),
gccFlags = require("objective-j").FileExecutable.currentGccCompilerFlags(),
chunk,
fileContents = "";