Initialization of separate units; fixed runtime

This commit is contained in:
Dmitry Boulytchev 2020-01-26 06:06:14 +03:00
parent 811c24d5a6
commit c09a3b36b6
13 changed files with 116 additions and 46 deletions

View file

@ -11,10 +11,6 @@ public fun initOstap () {
hct := emptyMemo ()
}
public fun cleanupOstap () {
initOstap ()
}
public fun memo (f) {
local t;
@ -218,4 +214,6 @@ public fun parseString (p, s) {
p (acc.k) (initMatcher (s));
acc.result
}
}
initOstap ()