fixes #7522
This commit is contained in:
parent
aa6353e4fa
commit
19ed4a8e3e
6 changed files with 10 additions and 10 deletions
|
|
@ -20,6 +20,7 @@ proc execute*(program: string) =
|
|||
|
||||
initDefines()
|
||||
defineSymbol("nimrodvm")
|
||||
defineSymbol("nimscript")
|
||||
when hasFFI: defineSymbol("nimffi")
|
||||
registerPass(verbosePass)
|
||||
registerPass(semPass)
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
import
|
||||
strutils, os, intsets, strtabs
|
||||
|
||||
import compiler/options, compiler/ast, compiler/astalgo, compiler/msgs,
|
||||
compiler/semdata, compiler/nimfix/prettybase, compiler/ropes, compiler/idents
|
||||
import "../compiler" / [options, ast, astalgo, msgs, semdata, ropes, idents]
|
||||
import prettybase
|
||||
|
||||
type
|
||||
StyleCheck* {.pure.} = enum None, Warn, Auto
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
|
||||
import strutils, lexbase, streams
|
||||
import compiler/ast, compiler/msgs, compiler/idents
|
||||
import "../compiler" / [ast, msgs, idents]
|
||||
from os import splitFile
|
||||
|
||||
type
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@
|
|||
## Include file that imports all plugins that are active.
|
||||
|
||||
import
|
||||
locals.locals, itersgen
|
||||
locals / locals, itersgen
|
||||
|
|
|
|||
|
|
@ -9,10 +9,9 @@
|
|||
|
||||
## Plugin to transform an inline iterator into a data structure.
|
||||
|
||||
import compiler/pluginsupport, compiler/ast, compiler/astalgo,
|
||||
compiler/magicsys, compiler/lookups, compiler/semdata,
|
||||
compiler/lambdalifting, compiler/rodread, compiler/msgs
|
||||
|
||||
import ".." / [pluginsupport, ast, astalgo,
|
||||
magicsys, lookups, semdata,
|
||||
lambdalifting, rodread, msgs]
|
||||
|
||||
proc iterToProcImpl(c: PContext, n: PNode): PNode =
|
||||
result = newNodeI(nkStmtList, n.info)
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
## The builtin 'system.locals' implemented as a plugin.
|
||||
|
||||
import compiler/pluginsupport, compiler/ast, compiler/astalgo,
|
||||
compiler/magicsys, compiler/lookups, compiler/semdata, compiler/lowerings
|
||||
import "../../" / [pluginsupport, ast, astalgo,
|
||||
magicsys, lookups, semdata, lowerings]
|
||||
|
||||
proc semLocals(c: PContext, n: PNode): PNode =
|
||||
var counter = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue