%{
typedef char *CHARPT;
#define YYSTYPE CHARPT

%}

%%
P: 'a' P 'a'
    | 'b' P 'b'
    |
    ;
%%
#include "lex.yy.c"
main()
{ yyparse();
}
