From 70432f0198622820b7652996208ed32ea96293bc Mon Sep 17 00:00:00 2001 From: Georges Auberger Date: Wed, 7 Mar 2012 22:10:16 -0800 Subject: [PATCH] Added -T directive to enable ObjectiveJ.Preprocessor.Flags.IncludeTypeSignatures flag on preprocessor --- Objective-J/CommonJS/lib/objective-j/compiler.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Objective-J/CommonJS/lib/objective-j/compiler.js b/Objective-J/CommonJS/lib/objective-j/compiler.js index d34451446..c8820c681 100644 --- a/Objective-J/CommonJS/lib/objective-j/compiler.js +++ b/Objective-J/CommonJS/lib/objective-j/compiler.js @@ -130,6 +130,9 @@ function resolveFlags(args) else if (argument.indexOf("-S") === 0) objjcFlags &= ~ObjectiveJ.Preprocessor.Flags.CheckSyntax; + else if (argument.indexOf("-T") === 0) + objjcFlags |= ObjectiveJ.Preprocessor.Flags.IncludeTypeSignatures; + else if (argument.indexOf("-g") === 0) objjcFlags |= ObjectiveJ.Preprocessor.Flags.IncludeDebugSymbols;