aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorStefan Monnier2006-04-30 15:35:54 +0000
committerStefan Monnier2006-04-30 15:35:54 +0000
commit39c41ad4211ebf2ce76fc49d9621adace0439399 (patch)
tree72da5f25b2bf9c72b80dca1cbf376be1d29ac076 /src/syntax.c
parenteadb9d458f63db805e5bbaf5a73cc56cc8885155 (diff)
downloademacs-39c41ad4211ebf2ce76fc49d9621adace0439399.tar.gz
emacs-39c41ad4211ebf2ce76fc49d9621adace0439399.zip
(Fforward_comment): Don't forget to break out of the loop
when we skipped backward over a generic comment.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 3f668eac946..f56bc1181c7 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -2140,6 +2140,9 @@ between them, return t; otherwise return nil. */)
2140 from_byte = ini_byte; 2140 from_byte = ini_byte;
2141 goto leave; 2141 goto leave;
2142 } 2142 }
2143 else
2144 /* We have skipped one comment. */
2145 break;
2143 } 2146 }
2144 else if (code == Sendcomment) 2147 else if (code == Sendcomment)
2145 { 2148 {