diff options
| author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-02-10 20:25:33 +0400 |
|---|---|---|
| committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-02-10 20:25:33 +0400 |
| commit | 68643cdeb65ae0f088b13e68ccbf4346f67bfa7e (patch) | |
| tree | cad316edb645e22f3dafbf69ab5d94910448363d | |
| parent | 2f108463faa3a43cc0bbd4b54b0844250b9cd844 (diff) | |
| download | emacs-68643cdeb65ae0f088b13e68ccbf4346f67bfa7e.tar.gz | |
* syntax.c (scan_sexps_forward): Fix byte position calculation
Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change.
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/syntax.c | 1 |
2 files changed, 6 insertions, 0 deletions
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 <dmantipov@yandex.ru> + + * 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 <eggert@cs.ucla.edu> * 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: |
