* Better flex fixups; make sure to link with -lfl even if building
[filters.git] / nyc.l
diff --git a/nyc.l b/nyc.l
index e6546b276951410176b34cfa999e708a396af680..b00f2b078288d1acaccc727f47b9c1818a271590 100644 (file)
--- a/nyc.l
+++ b/nyc.l
@@ -12,6 +12,11 @@ BW [ \t]
 SP [ \t]
 EW [ \t.,;!\?$]
 %%
+%{
+       void plastc() {
+               yyunput(yytext[yyleng-1], yytext);
+       }
+%}
 ".so ".*$                      printf("%s", yytext);
 [ao]ther                       printf("%cdder", yytext[0]=='a'?'a':'u');
 [Nn]othing                     printf("%cuttin'", yytext[0]);
@@ -66,10 +71,6 @@ negro                                printf("spade");
 !                              printf("!  Okay?");
 [a-z]"."               {       printf("%s", yytext);expletive();}
 %%
-plastc()
-{
-       yyunput(yytext[yyleng-1], yytext);
-}
 
 caseify(c)
 char c;
This page took 0.009876 seconds and 4 git commands to generate.