From f46bbf83a895de289415621e478cdb356397ec10 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Mon, 1 Nov 2010 11:26:59 -0700 Subject: [PATCH] Slight fix for correctness with --include. Reviewed by me. --- Objective-J/CommonJS/lib/objective-j/compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-J/CommonJS/lib/objective-j/compiler.js b/Objective-J/CommonJS/lib/objective-j/compiler.js index a83904e15..a0c54468c 100644 --- a/Objective-J/CommonJS/lib/objective-j/compiler.js +++ b/Objective-J/CommonJS/lib/objective-j/compiler.js @@ -113,7 +113,7 @@ function resolveFlags(args) else if (argument.indexOf("-U") === 0) gccFlags.push(argument); - else if (argument.indexOf("--include") === 0) + else if (argument === "--include") { if (++index < count) {