[BACK]Return to re_search.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/re_search.c between version 1.20 and 1.21

version 1.20, 2005/11/18 17:35:17 version 1.21, 2005/11/18 20:56:53
Line 211 
Line 211 
 re_doreplace(RSIZE plen, char *st)  re_doreplace(RSIZE plen, char *st)
 {  {
         int      j, k, s, more, num, state;          int      j, k, s, more, num, state;
         LINE    *clp;          struct line     *clp;
         char     repstr[REPLEN];          char     repstr[REPLEN];
   
         clp = curwp->w_dotp;          clp = curwp->w_dotp;
Line 299 
Line 299 
 re_forwsrch(void)  re_forwsrch(void)
 {  {
         int      tbo, error;          int      tbo, error;
         LINE    *clp;          struct line     *clp;
   
         clp = curwp->w_dotp;          clp = curwp->w_dotp;
         tbo = curwp->w_doto;          tbo = curwp->w_doto;
Line 344 
Line 344 
 static int  static int
 re_backsrch(void)  re_backsrch(void)
 {  {
         LINE            *clp;          struct line             *clp;
         int              tbo;          int              tbo;
         regmatch_t       lastmatch;          regmatch_t       lastmatch;
   
Line 505 
Line 505 
 {  {
         int      s, error;          int      s, error;
         int      count = 0;          int      count = 0;
         LINE    *clp;          struct line     *clp;
   
         clp = curwp->w_dotp;          clp = curwp->w_dotp;
         if (curwp->w_doto == llength(clp))          if (curwp->w_doto == llength(clp))
Line 578 
Line 578 
 {  {
         int      error;          int      error;
         int      count = 0;          int      count = 0;
         LINE    *clp;          struct line     *clp;
   
         clp = curwp->w_dotp;          clp = curwp->w_dotp;
         if (curwp->w_doto == llength(clp))          if (curwp->w_doto == llength(clp))

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21