mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 01:56:25 +03:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user