'koch temp' bugfix
This commit is contained in:
parent
e2d80b15a6
commit
94c8d53a03
2 changed files with 3 additions and 3 deletions
|
|
@ -992,7 +992,7 @@ proc documentEffect(cache: IdentCache; n, x: PNode, effectType: TSpecialWord, id
|
||||||
# set the type so that the following analysis doesn't screw up:
|
# set the type so that the following analysis doesn't screw up:
|
||||||
effects[i].typ = real[i].typ
|
effects[i].typ = real[i].typ
|
||||||
|
|
||||||
result = newTreeI(nkExprColonExpr, n.info,
|
result = newTreeI(nkExprColonExpr, n.info,
|
||||||
newIdentNode(getIdent(cache, specialWords[effectType]), n.info), effects)
|
newIdentNode(getIdent(cache, specialWords[effectType]), n.info), effects)
|
||||||
|
|
||||||
proc documentWriteEffect(cache: IdentCache; n: PNode; flag: TSymFlag; pragmaName: string): PNode =
|
proc documentWriteEffect(cache: IdentCache; n: PNode; flag: TSymFlag; pragmaName: string): PNode =
|
||||||
|
|
@ -1005,7 +1005,7 @@ proc documentWriteEffect(cache: IdentCache; n: PNode; flag: TSymFlag; pragmaName
|
||||||
effects.add params[i]
|
effects.add params[i]
|
||||||
|
|
||||||
if effects.len > 0:
|
if effects.len > 0:
|
||||||
result = newTreeI(nkExprColonExpr, n.info,
|
result = newTreeI(nkExprColonExpr, n.info,
|
||||||
newIdentNode(getIdent(cache, pragmaName), n.info), effects)
|
newIdentNode(getIdent(cache, pragmaName), n.info), effects)
|
||||||
|
|
||||||
proc documentRaises*(cache: IdentCache; n: PNode) =
|
proc documentRaises*(cache: IdentCache; n: PNode) =
|
||||||
|
|
|
||||||
2
koch.nim
2
koch.nim
|
|
@ -481,7 +481,7 @@ proc temp(args: string) =
|
||||||
var (bootArgs, programArgs) = splitArgs(args)
|
var (bootArgs, programArgs) = splitArgs(args)
|
||||||
if "doc" notin programArgs and
|
if "doc" notin programArgs and
|
||||||
"threads" notin programArgs and
|
"threads" notin programArgs and
|
||||||
"js" notin programArgs:
|
"js" notin programArgs and "rst2html" notin programArgs:
|
||||||
bootArgs.add " -d:leanCompiler"
|
bootArgs.add " -d:leanCompiler"
|
||||||
let nimexec = findNim().quoteShell()
|
let nimexec = findNim().quoteShell()
|
||||||
exec(nimexec & " c -d:debug --debugger:native -d:nimBetterRun " & bootArgs & " " & (d / "compiler" / "nim"), 125)
|
exec(nimexec & " c -d:debug --debugger:native -d:nimBetterRun " & bootArgs & " " & (d / "compiler" / "nim"), 125)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue