made compiler more robust for idetools; implemented idetools.usages

This commit is contained in:
Araq 2012-07-30 23:07:19 +02:00
commit 674c05f426
11 changed files with 96 additions and 47 deletions

View file

@ -455,7 +455,10 @@ proc processSwitch(switch, arg: string, pass: TCmdlinePass, info: TLineInfo) =
of "context":
expectNoArg(switch, arg, pass, info)
incl(gGlobalOptions, optContext)
of "stdout":
of "usages":
expectNoArg(switch, arg, pass, info)
incl(gGlobalOptions, optUsages)
of "stdout":
expectNoArg(switch, arg, pass, info)
incl(gGlobalOptions, optStdout)
else: