X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=jive.l;h=1171975dae6e0b51212b0c14967318107639a102;hb=dd827ce1d7b8cb0fb1be058027dc83dc49823f3c;hp=750b3cdb9a5921db2c605cf0f0313a2d3383718a;hpb=7f4e9d5ed94ae3d89fa2548194ef0bf190368080;p=filters.git diff --git a/jive.l b/jive.l index 750b3cd..1171975 100644 --- a/jive.l +++ b/jive.l @@ -18,6 +18,12 @@ BW [ \t\(] EW [ \t.,;!\?$\)] %% +%{ + void plastc() + { + unput(yytext[yyleng-1]); + } +%} @[Bb]egin(.*) | ".so ".*$ printf("%s", yytext); {BW}send printf("%ct'row",yytext[0]); @@ -195,10 +201,6 @@ against printf("agin'"); meta printf("meta-fuckin'"); cally printf("c'l"); %% -plastc() -{ - yyunput(yytext[yyleng-1], yytext); -} caseify(c) char c; @@ -243,16 +245,6 @@ expletive() } } -main() -{ - yylex(); -} - -int yywrap() -{ - return 1; -} - /* * Bugs: *