X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=jive.l;h=f8a1386d11506e58ae030bd40ea34684754f406a;hb=9ecbb9f2dcc7a38238988360f0010676e2d733e0;hp=1171975dae6e0b51212b0c14967318107639a102;hpb=fb5da53f9aebccc37fa1aea6b6939fbbcb9ad659;p=filters.git diff --git a/jive.l b/jive.l index 1171975..f8a1386 100644 --- a/jive.l +++ b/jive.l @@ -17,13 +17,13 @@ %o 1500 BW [ \t\(] EW [ \t.,;!\?$\)] +%option noyywrap %% + %{ - void plastc() - { - unput(yytext[yyleng-1]); - } + void plastc(); %} + @[Bb]egin(.*) | ".so ".*$ printf("%s", yytext); {BW}send printf("%ct'row",yytext[0]); @@ -202,6 +202,11 @@ meta printf("meta-fuckin'"); cally printf("c'l"); %% +void plastc() +{ + unput(yytext[yyleng-1]); +} + caseify(c) char c; {