diff options
-rw-r--r-- | src/cmd/acid/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acid/list.c b/src/cmd/acid/list.c index ad86966b..b75d0d70 100644 --- a/src/cmd/acid/list.c +++ b/src/cmd/acid/list.c @@ -232,7 +232,7 @@ listlocals(Map *map, Regs *regs, Symbol *fn, int class) for(i = 0; indexlsym(fn, i, &s)>=0; i++) { if(s.class != class) continue; - if(class == CAUTO && s.name[0] == '.') + if(class == CAUTO && (s.name==0 || s.name[0] == '.')) continue; if(lget4(map, regs, s.loc, &val) < 0) continue; |