Reorganize some code to support building with clang. Closes: #758450 Thanks, Alexander.
[filters.git] / jive.l
diff --git a/jive.l b/jive.l
index 1171975dae6e0b51212b0c14967318107639a102..f8a1386d11506e58ae030bd40ea34684754f406a 100644 (file)
--- a/jive.l
+++ b/jive.l
 %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;
 {
This page took 0.009918 seconds and 4 git commands to generate.