]> git.eshelyaron.com Git - emacs.git/commitdiff
etags.c: (C_entries): In case '}', set fvdef to fvnone
authorFrancesco Potortì <pot@gnu.org>
Thu, 15 Nov 2007 13:47:05 +0000 (13:47 +0000)
committerFrancesco Potortì <pot@gnu.org>
Thu, 15 Nov 2007 13:47:05 +0000 (13:47 +0000)
unconditioned to (!ignoreindent && lp == newlb.buffer + 1).

lib-src/etags.c

index 0412137496fe7d0d8c2c455042a660a93960e1de..0edc281e5870295ce00f4ea2d7dad9256e2b0b6f 100644 (file)
@@ -4006,9 +4006,9 @@ C_entries (c_ext, inf)
                  bracelev = 0;
                  token.valid = FALSE; /* something gone amiss, token unreliable */
                }
-             if (bracelev == 0 && fvdef == vignore)
-               fvdef = fvnone;         /* end of function */
            }
+         if (bracelev == 0 && fvdef == vignore)
+           fvdef = fvnone;             /* end of function */
          popclass_above (bracelev);
          structdef = snone;
          /* Only if typdef == tinbody is typdefbracelev significant. */