From: Francesco Potortì Date: Fri, 28 Mar 2003 13:09:10 +0000 (+0000) Subject: (erlang_attribute): Account for error returned by erlang_atom. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=210862e9025dfb9ef939f231e81e5c67b5e52325;p=emacs.git (erlang_attribute): Account for error returned by erlang_atom. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index 2b044dffed2..faf5f7f06f2 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -4969,7 +4969,7 @@ erlang_attribute (s) { pos = skip_spaces (s + pos) - s; len = erlang_atom (s, pos); - if (len != 0) + if (len > 0) pfnote (savenstr (& s[pos], len), TRUE, s, pos + len, lineno, linecharno); }