changeset 88121:74dbf77e41be

etags.c: (C_entries): In case '}', set fvdef to fvnone unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
author Francesco Potortì <pot@gnu.org>
date Thu, 15 Nov 2007 13:47:05 +0000
parents 3996a7930718
children c00e5514bf6b
files lib-src/etags.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Thu Aug 30 02:03:47 2007 +0000
+++ b/lib-src/etags.c	Thu Nov 15 13:47:05 2007 +0000
@@ -4006,9 +4006,9 @@
 		  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. */