/[monit]/monit/l.l
ViewVC logotype

Diff of /monit/l.l

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

revision 1.56 by hauk, Fri Aug 29 19:49:37 2003 UTC revision 1.57 by hauk, Fri Aug 29 22:33:08 2003 UTC
# Line 309  check[ \t]+directory { Line 309  check[ \t]+directory {
309    
310  "message:"[^}]*   {  "message:"[^}]*   {
311                        char *p= yytext+strlen("message:");                        char *p= yytext+strlen("message:");
   
312                        steplinenobycr(yytext);                        steplinenobycr(yytext);
   
313                        yylval.string = trim(xstrdup(p));                        yylval.string = trim(xstrdup(p));
314                        return MAILBODY;                        return MAILBODY;
315                    }                    }
# Line 375  check[ \t]+directory { Line 373  check[ \t]+directory {
373    
374    [ \n\t]+[^,]    {    [ \n\t]+[^,]    {
375                      steplinenobycr(yytext);                      steplinenobycr(yytext);
   
376                      unput(yytext[strlen(yytext)-1]);                      unput(yytext[strlen(yytext)-1]);
377                      BEGIN(INITIAL);                      BEGIN(INITIAL);
378                    }                    }
# Line 418  check[ \t]+directory { Line 415  check[ \t]+directory {
415    
416  %%  %%
417    
418    
419  /*  /*
420   * Do lineno++ for every occurrence of '\n' in a string.  This is   * Do lineno++ for every occurrence of '\n' in a string.  This is
421   * necessary whenever a yytext has an unknown number of CRs.   * necessary whenever a yytext has an unknown number of CRs.

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

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