Change /mem to \mem for subtracting mem from list

/mem has the meaning of ALL\mem in set theory, which could cause confusion.
This commit is contained in:
Stefan Rueger
2024-07-01 00:30:46 +01:00
parent b65c3c49b7
commit f1ff03d562

View File

@@ -315,7 +315,7 @@ static AVRMEM **memory_list(const char *mstr, const AVRPART *p, int *np, int *rw
if(e)
*e = 0;
s = str_trim(s);
if((not = *s == '/' || *s =='-')) // /mem or -mem removes the memory
if((not = *s == '\\' || *s =='-')) // \mem or -mem removes the memory
s++;
if(str_eq(s, "ALL")) {
for(LNODEID lm = lfirst(p->mem); lm; lm = lnext(lm))