/[CvsGraph]/cvsgraph/rcsl.l
ViewVC logotype

Diff of /cvsgraph/rcsl.l

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

revision 1.7, Mon Jun 13 19:57:10 2005 UTC revision 1.10, Mon Oct 3 20:40:25 2005 UTC
# Line 32  Line 32 
32  #include <string.h>  #include <string.h>
33  #include <ctype.h>  #include <ctype.h>
34    
35    #include <gd.h>
36    
37  #include "utils.h"  #include "utils.h"
38    #include "cvsgraph.h"
39  #include "readconf.h"  #include "readconf.h"
40  #include "rcs.h"  #include "rcs.h"
41  #include "rcs.tab.h"  #include "rcs.tab.h"
# Line 141  Line 144 
144  <xAUTHOR>{ws}+  ;  <xAUTHOR>{ws}+  ;
145  <xAUTHOR>\n     line_number++;  <xAUTHOR>\n     line_number++;
146  <xAUTHOR>{special}      BEGIN(INITIAL); return *rcstext;  <xAUTHOR>{special}      BEGIN(INITIAL); return *rcstext;
147  <xAUTHOR>{num}?{idchar}({idchar}|{num})*                {  <xAUTHOR>({idchar}|{num}|{ws})+         {
148                  rcslval.str = xstrdup(rcstext);                  rcslval.str = xstrdup(rcstext);
149                  BEGIN(INITIAL);                  BEGIN(INITIAL);
150                  return tID;                  return tID;
151          }          }
152  <xAUTHOR>{num}?.        rcserror("Invalid character in ID '%s' (0x%02x)", rcstext, rcstext[yyleng-1]);  <xAUTHOR>.      rcserror("Invalid character in AUTHOR '%s' (0x%02x)", rcstext, rcstext[yyleng-1]);
153    
154  {ws}+           ; /* Ignore whitespace */  {ws}+           ; /* Ignore whitespace */
155  \n              line_number++;  \n              line_number++;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0