We can now use concept sets in BNF definitions

This commit is contained in:
2020-01-19 21:48:43 +01:00
parent a7b239c167
commit 821614a6c4
16 changed files with 643 additions and 93 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ def get_context(sheerka):
def get_ret_val(sheerka, concept, who="who"):
concept.init_key()
if concept.key not in sheerka.concepts_cache:
sheerka.concepts_cache[concept.key] = concept
if concept.key not in sheerka.cache_by_key:
sheerka.cache_by_key[concept.key] = concept
return sheerka.ret(who, True, sheerka.new(concept.key))