Subversion Repositories programming

Rev

Rev 280 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 280 Rev 281
Line 22... Line 22...
22
        this(r);
22
        this(r);
23
        this.yyparser = yyparser;
23
        this.yyparser = yyparser;
24
    }
24
    }
25
%}
25
%}
26
 
26
 
27
WSPACE = [\ \t]+
27
WSPACE  = [\ \t]+
28
NL     = \n | \r | \r\n
28
NL      = \n | \r | \r\n
29
IGNORE = [^ptPT\ \t\n\r]+
29
IGNORE  = [^ptPT\ \t\n\r]+
-
 
30
PUT     = [pP]
-
 
31
TAKE    = [tT]
30
 
32
 
31
%%
33
%%
32
 
34
 
33
"p"         { return Parser.PUT;        }
-
 
34
"P"         { return Parser.PUT;        }
35
{PUT}       { return Parser.PUT;        }
35
"t"         { return Parser.TAKE;       }
-
 
36
"T"         { return Parser.TAKE;       }
36
{TAKE}      { return Parser.TAKE;       }
37
{NL}        { return Parser.NL;         }
37
{NL}        { return Parser.NL;         }
38
{WSPACE}    {                           }
38
{WSPACE}    {                           }
39
{IGNORE}    {                           }
39
{IGNORE}    {                           }
40
 
40