diff options
author | t-espave <unknown> | 2011-07-28 10:03:06 -0700 |
---|---|---|
committer | t-espave <unknown> | 2011-07-28 10:03:06 -0700 |
commit | 36202c6ec5c99b1284323c3077bc35a33c9d4233 (patch) | |
tree | 3a273e5540e731344989fbb937f084f6772798f4 /BCT/BytecodeTranslator/Program.cs | |
parent | 187603cdcce52f016503ba32f976e15408590465 (diff) |
bugfix,nothing was done if no white/blacklist specified
Diffstat (limited to 'BCT/BytecodeTranslator/Program.cs')
-rw-r--r-- | BCT/BytecodeTranslator/Program.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BCT/BytecodeTranslator/Program.cs b/BCT/BytecodeTranslator/Program.cs index 3179afa6..1c92f51c 100644 --- a/BCT/BytecodeTranslator/Program.cs +++ b/BCT/BytecodeTranslator/Program.cs @@ -102,12 +102,13 @@ namespace BytecodeTranslator { #region If an exclusion file has been specified, read in each line as a regular expression
List<Regex> exemptionList = null;
- bool whiteList = true;
+ bool whiteList = false;
if (!String.IsNullOrWhiteSpace(options.exemptionFile)) {
int i = 0;
exemptionList = new List<Regex>();
string fileName = options.exemptionFile;
var c = fileName[fileName.Length - 1];
+ whiteList = true;
if (c == '+' || c == '-') {
fileName = options.exemptionFile.Remove(fileName.Length - 1);
if (c == '-') whiteList = false;
|