caas is now drivable through stdin
* added idetools --eval * streams.readLine recognises and applies the backspace character
This commit is contained in:
parent
c43bf78000
commit
091c1b3075
18 changed files with 176 additions and 137 deletions
|
|
@ -1440,9 +1440,5 @@ proc myOpen(module: PSym, filename: string): PPassContext =
|
|||
proc myProcess(c: PPassContext, n: PNode): PNode =
|
||||
result = eval(PEvalContext(c), n)
|
||||
|
||||
proc evalPass*(): TPass =
|
||||
initPass(result)
|
||||
result.open = myOpen
|
||||
result.close = myProcess
|
||||
result.process = myProcess
|
||||
const evalPass* = makePass(myOpen, nil, myProcess, myProcess)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue