changeset 86087:d03f0a543d19

(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:32:27 +0000
parents 6eb7a4036a21
children 2ce16658101a
files lib-src/etags.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Thu Nov 15 06:48:44 2007 +0000
+++ b/lib-src/etags.c	Thu Nov 15 13:32:27 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. */