diff --git a/src/ChangeLog b/src/ChangeLog index a9a92e0cbab..43b8f4b76f7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-02-10 Dmitry Antipov + + * syntax.c (scan_sexps_forward): Fix byte position calculation + Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change. + 2013-02-10 Paul Eggert * fileio.c (Fexpand_file_name): Omit confusing pointer comparison 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; \ stop: /* Here if stopping before start of sexp. */ from = prev_from; /* We have just fetched the char that starts it; */ + from_byte = prev_from_byte; goto done; /* but return the position before it. */ endquoted: