Lines Matching defs:token

77 static void	datafile_error(char *errmsg, char *token);
397 TOKEN token;
418 status = sup_gettoken(token);
433 datafile_error("Expecting keyword, found '%s'", token);
437 * Clean up the token and see which keyword it is. Call
440 clean_token(cleaned, token);
471 TOKEN token;
480 status = sup_gettoken(token);
482 datafile_error("Expecting '=', found '%s'", token);
492 status = sup_gettoken(token);
502 datafile_error("Expecting value, found '%s'", token);
505 clean_token(cleaned, token);
517 status = sup_gettoken(token);
521 datafile_error("Expecting ', ', found '%s'", token);
535 TOKEN token, cleaned, ident;
546 status = sup_gettoken(token);
548 datafile_error("Expecting '=', found '%s'", token);
554 status = sup_gettoken(token);
556 datafile_error("Expecting value, found '%s'", token);
559 clean_token(cleaned, token);
579 status = sup_gettoken(token);
586 datafile_error("Expecting ':', found '%s'", token);
592 status = sup_gettoken(token);
602 datafile_error("Expecting keyword, found '%s'", token);
605 clean_token(ident, token);
617 status = sup_gettoken(token);
619 datafile_error("Expecting '=', found '%s'", token);
625 status = sup_gettoken(token);
627 datafile_error("Expecting value, found '%s'", token);
630 clean_token(cleaned, token);
812 TOKEN token;
840 * Next token should be the byte offset
842 if (sup_gettoken(token) != SUP_STRING) {
843 datafile_error("Unexpected value '%s'", token);
846 clean_token(ident, token);
870 switch (sup_gettoken(token)) {
875 if (sup_gettoken(token) == SUP_EQL)
879 if (sup_gettoken(token) == SUP_EQL)
884 datafile_error("Unexpected operator: '%s'", token);
892 if ((i = sup_gettoken(token)) == SUP_TILDE) {
894 i = sup_gettoken(token);
897 datafile_error("Expecting value, found '%s'", token);
900 clean_token(ident, token);
903 datafile_error("Expecting value, found '%s'", token);
937 TOKEN token, cleaned, disk, ctlr, ident;
951 status = sup_gettoken(token);
953 datafile_error("Expecting '=', found '%s'", token);
959 status = sup_gettoken(token);
961 datafile_error("Expecting value, found '%s'", token);
964 clean_token(cleaned, token);
990 status = sup_gettoken(token);
997 datafile_error("Expecting ':', found '%s'", token);
1003 status = sup_gettoken(token);
1010 datafile_error("Expecting keyword, found '%s'", token);
1013 clean_token(ident, token);
1017 status = sup_gettoken(token);
1019 datafile_error("Expecting '=', found '%s'", token);
1025 status = sup_gettoken(token);
1030 datafile_error("Expecting value, found '%s'", token);
1033 clean_token(cleaned, token);
1157 * First try to match token against possible tag values
1164 status = sup_gettoken(token);
1167 "Expecting ', ', found '%s'", token);
1170 status = sup_gettoken(token);
1173 token);
1176 clean_token(cleaned, token);
1180 * Try to match token against possible flag values
1187 status = sup_gettoken(token);
1190 token);
1193 status = sup_gettoken(token);
1196 token);
1199 clean_token(cleaned, token);
1215 status = sup_gettoken(token);
1217 datafile_error("Expecting ', ', found '%s'", token);
1223 status = sup_gettoken(token);
1225 datafile_error("Expecting value, found '%s'", token);
1228 clean_token(cleaned, token);
1232 * If the token is terminated with a 'c', the units
2353 datafile_error(char *errmsg, char *token)
2363 err_print(errmsg, token);