/[emacs]/emacs/src/syntax.c
ViewVC logotype

Diff of /emacs/src/syntax.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.175 by monnier, Wed Jun 30 19:34:49 2004 UTC revision 1.175.2.1 by miles, Sat Sep 4 12:01:19 2004 UTC
# Line 292  char_quoted (charpos, bytepos) Line 292  char_quoted (charpos, bytepos)
292    
293    DEC_BOTH (charpos, bytepos);    DEC_BOTH (charpos, bytepos);
294    
295    while (bytepos >= beg)    while (charpos >= beg)
296      {      {
297        int c;        int c;
298    
# Line 673  back_comment (from, from_byte, stop, com Line 673  back_comment (from, from_byte, stop, com
673      {      {
674        from = comstart_pos;        from = comstart_pos;
675        from_byte = comstart_byte;        from_byte = comstart_byte;
676        /* Globals are correct now.  */        UPDATE_SYNTAX_TABLE_FORWARD (from - 1);
677      }      }
678    else    else
679      {      {
# Line 1728  skip_chars (forwardp, syntaxp, string, l Line 1728  skip_chars (forwardp, syntaxp, string, l
1728                        if (negate)                        if (negate)
1729                          break;                          break;
1730                        else                        else
1731                          goto fwd_ok;                          goto fwd_unibyte_ok;
1732                      }                      }
1733    
1734                    if (!fastmap[*p])                    if (!fastmap[*p])
1735                      break;                      break;
1736                    fwd_unibyte_ok:
1737                    p++, pos++;                    p++, pos++;
1738                  }                  }
1739            }            }
# Line 1801  skip_chars (forwardp, syntaxp, string, l Line 1801  skip_chars (forwardp, syntaxp, string, l
1801                        if (negate)                        if (negate)
1802                          break;                          break;
1803                        else                        else
1804                          goto fwd_ok;                          goto back_unibyte_ok;
1805                      }                      }
1806    
1807                    if (!fastmap[p[-1]])                    if (!fastmap[p[-1]])
1808                      break;                      break;
1809                    back_unibyte_ok:
1810                    p--, pos--;                    p--, pos--;
1811                  }                  }
1812            }            }

Legend:
Removed from v.1.175  
changed lines
  Added in v.1.175.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26