diff src/syntax.c @ 70291:e4dbfbc6b5c6

(Fforward_comment): Don't forget to break out of the loop when we skipped backward over a generic comment.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 30 Apr 2006 15:35:54 +0000
parents 3bd95f4f2941
children 48f9beb0cfdc
line wrap: on
line diff
--- a/src/syntax.c	Sun Apr 30 02:35:46 2006 +0000
+++ b/src/syntax.c	Sun Apr 30 15:35:54 2006 +0000
@@ -2140,6 +2140,9 @@
 		  from_byte = ini_byte;
 		  goto leave;
 		}
+ 	      else
+		/* We have skipped one comment.  */
+		break;
 	    }
 	  else if (code == Sendcomment)
 	    {