X-Git-Url: http://git.ieval.ro/?p=filters.git;a=blobdiff_plain;f=jive.l;fp=jive.l;h=f8a1386d11506e58ae030bd40ea34684754f406a;hp=1171975dae6e0b51212b0c14967318107639a102;hb=ff7b46743fdcbc5ce956e98f68bbd16dc5ed6e3b;hpb=e372af427787f4a8870b18b5657f339f79f2422b 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; {