This commit is contained in:
Araq 2018-04-06 13:56:15 +02:00
commit 19ed4a8e3e
6 changed files with 10 additions and 10 deletions

View file

@ -20,6 +20,7 @@ proc execute*(program: string) =
initDefines() initDefines()
defineSymbol("nimrodvm") defineSymbol("nimrodvm")
defineSymbol("nimscript")
when hasFFI: defineSymbol("nimffi") when hasFFI: defineSymbol("nimffi")
registerPass(verbosePass) registerPass(verbosePass)
registerPass(semPass) registerPass(semPass)

View file

@ -13,8 +13,8 @@
import import
strutils, os, intsets, strtabs strutils, os, intsets, strtabs
import compiler/options, compiler/ast, compiler/astalgo, compiler/msgs, import "../compiler" / [options, ast, astalgo, msgs, semdata, ropes, idents]
compiler/semdata, compiler/nimfix/prettybase, compiler/ropes, compiler/idents import prettybase
type type
StyleCheck* {.pure.} = enum None, Warn, Auto StyleCheck* {.pure.} = enum None, Warn, Auto

View file

@ -8,7 +8,7 @@
# #
import strutils, lexbase, streams import strutils, lexbase, streams
import compiler/ast, compiler/msgs, compiler/idents import "../compiler" / [ast, msgs, idents]
from os import splitFile from os import splitFile
type type

View file

@ -10,4 +10,4 @@
## Include file that imports all plugins that are active. ## Include file that imports all plugins that are active.
import import
locals.locals, itersgen locals / locals, itersgen

View file

@ -9,10 +9,9 @@
## Plugin to transform an inline iterator into a data structure. ## Plugin to transform an inline iterator into a data structure.
import compiler/pluginsupport, compiler/ast, compiler/astalgo, import ".." / [pluginsupport, ast, astalgo,
compiler/magicsys, compiler/lookups, compiler/semdata, magicsys, lookups, semdata,
compiler/lambdalifting, compiler/rodread, compiler/msgs lambdalifting, rodread, msgs]
proc iterToProcImpl(c: PContext, n: PNode): PNode = proc iterToProcImpl(c: PContext, n: PNode): PNode =
result = newNodeI(nkStmtList, n.info) result = newNodeI(nkStmtList, n.info)

View file

@ -9,8 +9,8 @@
## The builtin 'system.locals' implemented as a plugin. ## The builtin 'system.locals' implemented as a plugin.
import compiler/pluginsupport, compiler/ast, compiler/astalgo, import "../../" / [pluginsupport, ast, astalgo,
compiler/magicsys, compiler/lookups, compiler/semdata, compiler/lowerings magicsys, lookups, semdata, lowerings]
proc semLocals(c: PContext, n: PNode): PNode = proc semLocals(c: PContext, n: PNode): PNode =
var counter = 0 var counter = 0