%Start junk
+%option noyywrap
+
%%
%{
- void eos() {
- if (yytext[yyleng-1] == '.')
- dintI();
- else
- unput(yytext[yyleng-1]);
- }
-
- void plastc() {
- unput(yytext[yyleng-1]);
- }
+void eos();
+void plastc();
%}
<junk>. { srandom(time(0L)); unput(yytext[0]); BEGIN 0; }
%%
+void eos()
+{
+ if (yytext[yyleng-1] == '.')
+ dintI();
+ else
+ unput(yytext[yyleng-1]);
+}
+
+void plastc()
+{
+ unput(yytext[yyleng-1]);
+}
+
caseify(c)
char c;
{
+filters (2.50) UNRELEASED; urgency=medium
+
+ * Reorganize some code to support building with clang.
+ Closes: #758450 Thanks, Alexander.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 17 Aug 2014 15:46:17 -0400
+
filters (2.49) unstable; urgency=low
* scottish: Fix typo. Closes: #688905
%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]);
cally printf("c'l");
%%
+void plastc()
+{
+ unput(yytext[yyleng-1]);
+}
+
caseify(c)
char c;
{
BW [ \t]
SP [ \t]
EW [ \t.,;!\?$]
+
%%
%{
- void plastc() {
- yyunput(yytext[yyleng-1], yytext);
- }
+ void plastc();
%}
".so ".*$ printf("%s", yytext);
[ao]ther printf("%cdder", yytext[0]=='a'?'a':'u');
[a-z]"." { printf("%s", yytext);expletive();}
%%
+void plastc()
+{
+ yyunput(yytext[yyleng-1], yytext);
+}
+
caseify(c)
char c;
{
}
}
-main()
-{
- yylex();
-}
-
int yywrap()
{
return 1;