/[CvsGraph]/cvsgraph/rcsy.y
ViewVC logotype

Diff of /cvsgraph/rcsy.y

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

revision 1.3, Tue Jan 1 21:03:23 2002 UTC revision 1.4, Tue Apr 23 23:02:54 2002 UTC
# Line 27  Line 27 
27  #include <string.h>  #include <string.h>
28  #include <assert.h>  #include <assert.h>
29    
30    #include <gd.h>         /* For gdFontPtr in cvsgraph.h */
31    #include "cvsgraph.h"
32  #include "utils.h"  #include "utils.h"
33  #include "rcs.h"  #include "rcs.h"
34    
# Line 91  Line 93 
93  %type <rcsfile> admin  %type <rcsfile> admin
94    
95  %%  %%
96  rcsfile : admin deltas desc dtexts      {  rcsfile : admin deltas desc {
97                  rcsfile = $1;                  rcsfile = $1;
98                  rcsfile->deltas = $2;                  rcsfile->deltas = $2;
99                  rcsfile->desc = $3;                  rcsfile->desc = $3;
100                  rcsfile->dtexts = $4;                  rcsfile->dtexts = NULL;
101                  if(rcsfile->head)                  if(rcsfile->head)
102                  {                  {
103                          char *h = xstrdup("HEAD");                          char *h = xstrdup("HEAD");
# Line 115  Line 117 
117                   * trunk is reversed in order and the primary revision                   * trunk is reversed in order and the primary revision
118                   * numbers can vary.                   * numbers can vary.
119                   */                   */
120                    if(!conf.parse_logs)
121                    {
122                            /* Return from the yyparse() call early to avoid parsing
123                             * of the possibly extremely large deltatext. This speeds
124                             * up parsing of binary files by a very large factor.
125                             */
126                            return 0;
127                    }
128                  }                  }
129    
130                    /* This is trailing deltatext context and possibly ignored */
131                    dtexts  { rcsfile->dtexts = $5; }
132          ;          ;
133    
134  admin   : tHEAD orev ';'  admin   : tHEAD orev ';'

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0