X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=newspeak.l;h=ce0f57314030ddf22c9e08c34071ff1b2d2f48d5;hb=15912dc133f393a8e9afd7d558a554485b1b8729;hp=67b2c5e2b074f964c60f2b4370b1def93e0d09ad;hpb=9edc0e612e98d4c563155a8fc2d96f27f4815831;p=filters.git diff --git a/newspeak.l b/newspeak.l index 67b2c5e..ce0f573 100644 --- a/newspeak.l +++ b/newspeak.l @@ -13,7 +13,6 @@ * for any purpose. It is provided "as is" without express or * implied warranty. * - * Permissiom granted for noncommercial use and redistribution. * To compile: * * flex newspeak.l @@ -584,10 +583,10 @@ robably|ventually|[Oo]bvious|[Bb]asic|{W}[Oo]nly|otally | if (14 == fcounter++) printf("(fnord) "); } -[.,!?]\"([^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y0,yytext+1); +[.,!?]\"([^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y0,yytext+2); \"([.,!?][^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y1,yytext+2); -. printf(yytext); +. printf("%s", yytext); \n printf("\n"); %{