fix(memory): upgrade keeps an EVAL Index action the body lacks; lib lines ≤ 80

This commit is contained in:
bchanot committed 2026-10-28 17:25:36 +01:00
1 parent 9698473f8e
commit 7806ab426b
4 files changed
+13 -5

No files matched your search

+2 -1
View File
@@ -75,7 +75,8 @@ function mem_key(line, key, c) {
return c == "" || c !~ /[0-9A-Za-z]/ }
function mem_want(p, c, st, w) {
w = mem_word(c)
if (p == "EVAL" || w == "") return ""
if (w == "") return ""
if (p == "EVAL") return st == "" ? c : ""
if (p == "LRN") return c ~ /^superseded by/ ? c : ""
if (st == "" || (w ~ /^(superseded|deprecated)$/ && st != w)) return c
return "" }