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

Diff of /monit/l.l

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

revision 1.11 by chopp, Fri Aug 30 12:54:19 2002 UTC revision 1.12 by hauk, Thu Sep 5 14:04:24 2002 UTC
# Line 77  stoparg     stop{wws}(program)?{wws}["] Line 77  stoparg     stop{wws}(program)?{wws}["]
77  {wws}             { /* Wide white space */ }  {wws}             { /* Wide white space */ }
78  (#.*)?\\?\n       { lineno++; }  (#.*)?\\?\n       { lineno++; }
79    
80  if                {/* EMPTY */}  i(f|s)            {/* EMPTY */}
81    are               {/* EMPTY */}
82  for               {/* EMPTY */}  for               {/* EMPTY */}
83  on(ly)?           {/* EMPTY */}  on(ly)?           {/* EMPTY */}
84  with(in)?         {/* EMPTY */}  with(in)?         {/* EMPTY */}
# Line 90  the               {/* EMPTY */} Line 91  the               {/* EMPTY */}
91  cycle(s)?         {/* EMPTY */}  cycle(s)?         {/* EMPTY */}
92  sum               {/* EMPTY */}  sum               {/* EMPTY */}
93  restarts          {/* EMPTY */}  restarts          {/* EMPTY */}
94  than              {/* EMPTY */}  th(a|e)n          {/* EMPTY */}
 then              {/* EMPTY */}  
95    
96  {startarg}        { BEGIN(ARGUMENT); return START; }  {startarg}        { BEGIN(ARGUMENT); return START; }
97  {stoparg}         { BEGIN(ARGUMENT); return STOP; }  {stoparg}         { BEGIN(ARGUMENT); return STOP; }
# Line 220  memkbyte          { return MEMKBYTE; } Line 220  memkbyte          { return MEMKBYTE; }
220                        BEGIN(INITIAL);                        BEGIN(INITIAL);
221                    }                    }
222    
223    \'[^']*\'       { /* ' */    \'[^']*\'       {
224                        yylval.string= handle_quoted_string(yytext);                        yylval.string= handle_quoted_string(yytext);
225                        return STRING;                        return STRING;
226                    }                    }
# Line 234  memkbyte          { return MEMKBYTE; } Line 234  memkbyte          { return MEMKBYTE; }
234                        return STRING;                        return STRING;
235                    }                    }
236    
237    [^ \t\n"]+      { /* " */    [^ \t\n"]+      {
238                        yylval.string= xstrdup(yytext);                        yylval.string= xstrdup(yytext);
239                        return STRING;                        return STRING;
240                    }                    }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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