* Main.cs: * Main.cs: Fixed a potential index out of range exception

when setting dirName (output path).
This commit is contained in:
the_fiddler 2009-08-26 07:52:35 +00:00
parent f692a3c069
commit e079daa6cc

View file

@ -88,7 +88,7 @@ namespace Bind
mode = GeneratorMode.CL10; mode = GeneratorMode.CL10;
else else
throw new NotImplementedException(); throw new NotImplementedException();
if (b.Length > 1) if (b.Length > 2)
dirName = b[2]; dirName = b[2];
break; break;
case "namespace": case "namespace":