* Deal with the new flex 2.5.31 as follows:
[filters.git] / nyc.l
diff --git a/nyc.l b/nyc.l
index 8505c1652ab79b3e21793130e5aad149db369104..e6546b276951410176b34cfa999e708a396af680 100644 (file)
--- a/nyc.l
+++ b/nyc.l
@@ -68,7 +68,7 @@ negro                         printf("spade");
 %%
 plastc()
 {
-       unput(yytext[yyleng-1]);
+       yyunput(yytext[yyleng-1], yytext);
 }
 
 caseify(c)
@@ -95,3 +95,13 @@ expletive()
                        }
                }
 }
+
+main()
+{
+       yylex();
+}
+
+int yywrap()
+{
+       return 1;
+}
This page took 0.00975 seconds and 4 git commands to generate.