X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/4f3f411b34d8ddb024709d7db749504a4f387e66..e8e3ef0dfb6fbe28c07e34599f0f48336792b4b3:/src/ircd_lexer.l?ds=sidebyside diff --git a/src/ircd_lexer.l b/src/ircd_lexer.l index 4cd7e79..77cd44c 100644 --- a/src/ircd_lexer.l +++ b/src/ircd_lexer.l @@ -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" @@ -46,20 +46,6 @@ 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}(\<.*\>|\".*\") %%