emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111723: * syntax.c (scan_sexps_forwa


From: Dmitry Antipov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111723: * syntax.c (scan_sexps_forward): Fix byte position calculation
Date: Sun, 10 Feb 2013 20:25:33 +0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111723
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Sun 2013-02-10 20:25:33 +0400
message:
  * syntax.c (scan_sexps_forward): Fix byte position calculation
  Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change.
modified:
  src/ChangeLog
  src/syntax.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-02-10 08:26:56 +0000
+++ b/src/ChangeLog     2013-02-10 16:25:33 +0000
@@ -1,3 +1,8 @@
+2013-02-10  Dmitry Antipov  <address@hidden>
+
+       * 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  <address@hidden>
 
        * fileio.c (Fexpand_file_name): Omit confusing pointer comparison

=== modified file 'src/syntax.c'
--- a/src/syntax.c      2013-02-08 14:44:53 +0000
+++ b/src/syntax.c      2013-02-10 16:25:33 +0000
@@ -3278,6 +3278,7 @@
 
  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:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]