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]);
! printf("! Okay?");
[a-z]"." { printf("%s", yytext);expletive();}
%%
-plastc()
-{
- unput(yytext[yyleng-1]);
-}
caseify(c)
char c;
}
}
}
+
+main()
+{
+ yylex();
+}
+
+int yywrap()
+{
+ return 1;
+}