New: New option to generate code for the objjc tool

A new option flag '-G' can be added to let the compiler generate the code instead of copy and alter it from the source code
This commit is contained in:
Martin Carlberg
2013-03-17 20:45:34 +01:00
parent 22cdbd7ec7
commit bef0ca18c6
@@ -174,6 +174,9 @@ function resolveFlags(args)
else if (argument.indexOf("-O") === 0)
objjcFlags |= ObjectiveJ.ObjJAcornCompiler.Flags.Compress;
else if (argument.indexOf("-G") === 0)
objjcFlags |= ObjectiveJ.ObjJAcornCompiler.Flags.Generate;
else
filePaths.push(argument);
}