aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorDmitry Antipov2013-02-10 20:25:33 +0400
committerDmitry Antipov2013-02-10 20:25:33 +0400
commit68643cdeb65ae0f088b13e68ccbf4346f67bfa7e (patch)
treecad316edb645e22f3dafbf69ab5d94910448363d /src/syntax.c
parent2f108463faa3a43cc0bbd4b54b0844250b9cd844 (diff)
downloademacs-68643cdeb65ae0f088b13e68ccbf4346f67bfa7e.tar.gz
emacs-68643cdeb65ae0f088b13e68ccbf4346f67bfa7e.zip
* syntax.c (scan_sexps_forward): Fix byte position calculation
Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 42500b0cb76..390d732944d 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3278,6 +3278,7 @@ do { prev_from = from; \
3278 3278
3279 stop: /* Here if stopping before start of sexp. */ 3279 stop: /* Here if stopping before start of sexp. */
3280 from = prev_from; /* We have just fetched the char that starts it; */ 3280 from = prev_from; /* We have just fetched the char that starts it; */
3281 from_byte = prev_from_byte;
3281 goto done; /* but return the position before it. */ 3282 goto done; /* but return the position before it. */
3282 3283
3283 endquoted: 3284 endquoted: