]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/ircd_lexer.l
Add topic TS and channel TS constraints for /LIST.
[irc/rqf/shadowircd.git] / src / ircd_lexer.l
index 4cd7e793852e3d16d0e0604ea1029566654f2ea9..77cd44cc64371be1ff69872152996a83e4a87630 100644 (file)
@@ -38,7 +38,7 @@
 #include "ircd_defs.h"
 #include "common.h"
 #include "config.h"
-#include "s_log.h"
+#include "logger.h"
 #include "s_conf.h"
 #include "newconf.h"
 
 
 int yylex(void);
 
-/* here to fixup gcc 3.3 errors */
-int yyget_lineno(void);
-FILE *yyget_in(void);
-FILE *yyget_out(void);
-int yyget_leng(void);
-char *yyget_text(void);
-void yyset_lineno(int  line_number);
-void yyset_in(FILE *  in_str);
-void yyset_out(FILE *  out_str);
-int yyget_debug(void);
-void yyset_debug(int  bdebug);
-int yylex_destroy(void);
-
-
 #define MAX_INCLUDE_DEPTH 10
 
 YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH];
@@ -91,7 +77,7 @@ ws        [ \t]*
 digit     [0-9]
 comment   #.*
 qstring   \"[^\"\n]*[\"\n]
-string    [a-zA-Z_\~][a-zA-Z0-9_]*
+string    [a-zA-Z_\~\:][a-zA-Z0-9_\:]*
 include   \.include{ws}(\<.*\>|\".*\")
 
 %%