Lines Matching refs:token
28 /* ntp_keyword.h declares finite state machine and token text */
64 * keyword() - Return the keyword associated with token T_ identifier.
71 int token
78 i = token - LOWEST_KEYWORD_ID;
80 switch (token) {
90 "(keyword #%u not found)", token);
450 int token;
454 token = 0;
466 token = curr_s;
474 return token;
604 /* is_special() - Test whether a character is a token */
676 * value representing the token or type.
686 int token; /* The return value */
704 token = T_EOC;
711 token = T_EOC;
715 /* special chars are their own token values */
716 token = ch;
730 /* save the position of start of the token */
791 /* Now return the desired token */
794 * as the next token (based on the previous token that was
799 token = is_keyword(yytext, &followedby);
800 if (token) {
803 * following token to be a string in the
807 * recognized as a token not a string.
809 if (T_Server == token && !old_config_style)
828 token = T_Integer;
851 token = T_U_int;
862 token = T_Double;
868 token = create_string_token(yytext);
888 * table, which tells the scanner to force the next token to be
897 token = T_Ipv4_flag;
900 token = T_Ipv6_flag;
909 token = create_string_token(yytext);
912 if (T_EOC == token)
916 token_name(token)));
919 yylval.Integer = token;
921 return token;