#endif
#endif
-#define YY_EXTRA_TYPE Context*
-
}
%{
-#include <cstdlib>
-#include <cstring>
-
#define PARAM yyget_extra(yyscanner)
#define get_lex_chars(buffer, result, max_size, context) \
%}
+%option nostdinit
%option 8bit
+%option warn
%option bison-bridge
%option never-interactive
%option case-insensitive
+%option nodefault
%option noinput
%option nounput
%option noyywrap
%option perf-report
%option prefix="config_"
%option reentrant
-%option warn
%%
"--SERVER=" { yyextra->begin= yytext; yyextra->set_server(); return yyextra->previous_token= SERVER; }
-"--SOCKET=" { yyextra->begin= yytext; return yyextra->previous_token= SOCKET; }
+"--SOCKET=" { yyextra->begin= yytext; return yyextra->previous_token= CSL_SOCKET; }
"--BINARY-PROTOCOL" { yyextra->begin= yytext; return yyextra->previous_token= BINARY_PROTOCOL; }
"--BUFFER-REQUESTS" { yyextra->begin= yytext; return yyextra->previous_token= BUFFER_REQUESTS; }
DEBUG { yyextra->begin= yytext; return yyextra->previous_token= PARSER_DEBUG; }
SERVERS { yyextra->begin= yytext; return yyextra->previous_token= SERVERS; }
END { yyextra->begin= yytext; return yyextra->previous_token= END; }
-ERROR { yyextra->begin= yytext; return yyextra->previous_token= ERROR; }
+CSL_ERROR { yyextra->begin= yytext; return yyextra->previous_token= CSL_ERROR; }
-TRUE { return yyextra->previous_token= TRUE; }
-FALSE { return yyextra->previous_token= FALSE; }
+TRUE { return yyextra->previous_token= CSL_TRUE; }
+FALSE { return yyextra->previous_token= CSL_FALSE; }
"--"[[:alnum:]]* {