]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/newsearch.l
merge
[irc/quakenet/newserv.git] / newsearch / newsearch.l
index 21a2f85f9d4cb319b5625dd86ff6ea063aceb3f0..043c6e03f8817ba12d2fc1a0534547d94a9903b2 100644 (file)
@@ -4,6 +4,9 @@
 
 #include <stdlib.h>
 #include <string.h>
+#ifndef __POSIX_VISIBLE
+#define fileno(x) 0
+#endif
 
 #include "../lib/sstring.h"
 
@@ -88,7 +91,7 @@ letter                [a-zA-Z]
 [ \t]+         { addpos(strlen(yytext));
                  return WHITESPACE;
                }
-({letter}|{digit}|[#\-\+\.])+  { addpos(strlen(yytext));
+({letter}|{digit}|[#\-\+\.\*])+        { addpos(strlen(yytext));
                  yylval = getsstring(yytext, 512);
                  return IDENTIFIER;
                }