some progress on #5228

This commit is contained in:
Araq 2017-01-20 12:50:30 +01:00
commit 54bd728c13

View file

@ -116,12 +116,12 @@ proc setupVM*(module: PSym; cache: IdentCache; scriptName: string): PEvalContext
cbconf getCommand: cbconf getCommand:
setResult(a, options.command) setResult(a, options.command)
cbconf switch: cbconf switch:
processSwitch(a.getString 0, a.getString 1, passPP, unknownLineInfo()) processSwitch(a.getString 0, a.getString 1, passPP, module.info)
cbconf hintImpl: cbconf hintImpl:
processSpecificNote(a.getString 0, wHint, passPP, unknownLineInfo(), processSpecificNote(a.getString 0, wHint, passPP, module.info,
a.getString 1) a.getString 1)
cbconf warningImpl: cbconf warningImpl:
processSpecificNote(a.getString 0, wWarning, passPP, unknownLineInfo(), processSpecificNote(a.getString 0, wWarning, passPP, module.info,
a.getString 1) a.getString 1)
cbconf patchFile: cbconf patchFile:
let key = a.getString(0) & "_" & a.getString(1) let key = a.getString(0) & "_" & a.getString(1)