diff options
Diffstat (limited to 'src')
| -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 @@ | |||
| 1 | 2013-02-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * syntax.c (scan_sexps_forward): Fix byte position calculation | ||
| 4 | Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change. | ||
| 5 | |||
| 1 | 2013-02-10 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2013-02-10 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | * fileio.c (Fexpand_file_name): Omit confusing pointer comparison | 8 | * 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; \ | |||
| 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: |