emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/syntax.c [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/syntax.c [lexbind]
Date: Sat, 04 Sep 2004 05:49:26 -0400

Index: emacs/src/syntax.c
diff -c emacs/src/syntax.c:1.152.4.9 emacs/src/syntax.c:1.152.4.10
*** emacs/src/syntax.c:1.152.4.9        Tue Jul  6 10:27:02 2004
--- emacs/src/syntax.c  Sat Sep  4 09:26:26 2004
***************
*** 292,298 ****
  
    DEC_BOTH (charpos, bytepos);
  
!   while (bytepos >= beg)
      {
        int c;
  
--- 292,298 ----
  
    DEC_BOTH (charpos, bytepos);
  
!   while (charpos >= beg)
      {
        int c;
  
***************
*** 673,679 ****
      {
        from = comstart_pos;
        from_byte = comstart_byte;
!       /* Globals are correct now.  */
      }
    else
      {
--- 673,679 ----
      {
        from = comstart_pos;
        from_byte = comstart_byte;
!       UPDATE_SYNTAX_TABLE_FORWARD (from - 1);
      }
    else
      {
***************
*** 1728,1739 ****
                      if (negate)
                        break;
                      else
!                       goto fwd_ok;
                    }
  
                  if (!fastmap[*p])
                    break;
! 
                  p++, pos++;
                }
          }
--- 1728,1739 ----
                      if (negate)
                        break;
                      else
!                       goto fwd_unibyte_ok;
                    }
  
                  if (!fastmap[*p])
                    break;
!               fwd_unibyte_ok:
                  p++, pos++;
                }
          }
***************
*** 1801,1812 ****
                      if (negate)
                        break;
                      else
!                       goto fwd_ok;
                    }
  
                  if (!fastmap[p[-1]])
                    break;
! 
                  p--, pos--;
                }
          }
--- 1801,1812 ----
                      if (negate)
                        break;
                      else
!                       goto back_unibyte_ok;
                    }
  
                  if (!fastmap[p[-1]])
                    break;
!               back_unibyte_ok:
                  p--, pos--;
                }
          }




reply via email to

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