X-Git-Url: http://git.ieval.ro/?p=filters.git;a=blobdiff_plain;f=ken.l;h=dc2ce76237bbcae851b92c8b3f4c356e5c3acd2a;hp=942564b87c832b1cd5340252f2ad63df19598de0;hb=HEAD;hpb=73fc7494e8e3522f3e28d3c45c909e796fd3776c diff --git a/ken.l b/ken.l index 942564b..dc2ce76 100644 --- a/ken.l +++ b/ken.l @@ -213,7 +213,8 @@ directories printf("lockups"); [Ff][Oo][Rr][Tt][Rr][Aa][Nn] printf("Manfred Mann"); [Cc][Oo][Bb][Oo][Ll] printf("Albert Hall"); [Jj]ava printf("Wot a palavah"); -[Ww][Aa][Pp] printf("Pony and trap"); +W[aA][pP] printf("Pony and trap"); +" wap" printf(" pony and trap"); Stopped printf("'Ad the mockers put on"); stopped printf("'ad the mockers put on"); Stopping printf("Putting the mockers on"); @@ -282,12 +283,6 @@ aw printf("or"); case 5: ECHO; break; } } -. printf(yytext); +. printf("%s", yytext); \n printf("\n"); %% - -main() -{ - srand(getpid()); - yylex(); -}