]> iEval git - filters.git/blobdiff - newspeak.l
Patch from Anssi Hannula to avoid warnings when compiling with -Werror=format-security.
[filters.git] / newspeak.l
index 67b2c5e2b074f964c60f2b4370b1def93e0d09ad..ce0f57314030ddf22c9e08c34071ff1b2d2f48d5 100644 (file)
@@ -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");
 
 %{
This page took 0.019489 seconds and 4 git commands to generate.