sempass2 compiles again

This commit is contained in:
Andreas Rumpf 2018-05-11 14:18:39 +02:00
commit 2e76a92fe1
3 changed files with 85 additions and 81 deletions

View file

@ -402,8 +402,8 @@ proc usefulFact(n: PNode; o: Operators): PNode =
type
TModel* = object
s: seq[PNode] # the "knowledge base"
o: Operators
s*: seq[PNode] # the "knowledge base"
o*: Operators
proc addFact*(m: var TModel, nn: PNode) =
let n = usefulFact(nn, m.o)