Also close bug
[filters.git] / ken.l
diff --git a/ken.l b/ken.l
index 942564b87c832b1cd5340252f2ad63df19598de0..dc2ce76237bbcae851b92c8b3f4c356e5c3acd2a 100644 (file)
--- 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();
-}
This page took 0.009251 seconds and 4 git commands to generate.