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

Diff of /monit/l.l

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

revision 1.101 by martinp, Mon Sep 5 09:51:37 2005 UTC revision 1.102 by martinp, Tue Sep 6 11:06:52 2005 UTC
# Line 537  check[ \t]+host   { Line 537  check[ \t]+host   {
537    
538  <INCLUDE>[ \t]*      /* eat the whitespace */  <INCLUDE>[ \t]*      /* eat the whitespace */
539    
540  <INCLUDE>\"[^\"\n]+\" { /* got the include file name with double quotes */  <INCLUDE>\"[^\"\r\n]+\" { /* got the include file name with double quotes */
541                       char *temp=xstrdup(yytext);                       char *temp=xstrdup(yytext);
542                       Util_trimQuotes(temp);                           Util_trimQuotes(temp);    
543                       include_file(temp);                       include_file(temp);
# Line 545  check[ \t]+host   { Line 545  check[ \t]+host   {
545                       BEGIN(INITIAL);                       BEGIN(INITIAL);
546                     }                     }
547    
548  <INCLUDE>\'[^\'\n]+\' { /* got the include file name with single quotes*/  <INCLUDE>\'[^\'\r\n]+\' { /* got the include file name with single quotes*/
549                       char *temp=xstrdup(yytext);                       char *temp=xstrdup(yytext);
550                       Util_trimQuotes(temp);                           Util_trimQuotes(temp);    
551                       include_file(temp);                       include_file(temp);
# Line 553  check[ \t]+host   { Line 553  check[ \t]+host   {
553                       BEGIN(INITIAL);                       BEGIN(INITIAL);
554                     }                     }
555    
556  <INCLUDE>[^ \t\n]+ { /* got the include file name without quotes*/  <INCLUDE>[^ \t\r\n]+ { /* got the include file name without quotes*/
557                       char *temp=xstrdup(yytext);                       char *temp=xstrdup(yytext);
558                       include_file(temp);                       include_file(temp);
559                       FREE(temp);                       FREE(temp);

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.102

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