Home | History | Annotate | Download | only in siop

Lines Matching defs:tokens

49 } tokens[MAXTOKENS];
434 fprintf (listfp, " %d tokens\n", ntokens);
437 if (tokens[i].type)
438 fprintf (listfp,"'%c'\n", tokens[i].type);
440 fprintf (listfp, "%s\n", tokens[i].name);
443 if (ntokens >= 2 && tokens[0].type == 0 &&
444 tokens[1].type == ':') {
445 define_symbol (tokens[0].name, dsps, S_LABEL, F_DEFINED);
581 tokens[ntokens].name = malloc (strlen (string) + 1);
582 strcpy (tokens[ntokens].name, string);
583 tokens[ntokens].type = 0;
586 tokens[ntokens].type = c;
597 if (tokens[tokenix].type) {
600 tokens[tokenix].type);
604 if (strcmpi (directives[i].name, tokens[tokenix].name) == 0)
610 tokens[tokenix].name);
615 fprintf (errfp, "No function for directive \"%s\"\n", tokens[tokenix].name);
712 if (tokens[t].type == 0 && strcmpi (tokens[t].name, string) == 0)
752 if (tokens[i].type == '+')
754 else if (tokens[i].type == '-')
769 if (tokens[t].type) {
773 name = tokens[t].name;
868 setarch(tokens[i].name);
877 if (tokens[tokenix].type != 0 || tokens[tokenix + 1].type != ':')
880 new_script (tokens[tokenix].name);
898 type = strcmpi (tokens[tokenix-1].name, "ENTRY") ? S_EXTERNAL : S_LABEL;
901 if (tokens[i].type != 0) {
905 define_symbol (tokens[i].name, 0, type, flags);
907 if (tokens[++i].type == ',')
926 type = strcmpi (tokens[tokenix-1].name, "ABSOLUTE") ? S_RELATIVE : S_ABSOLUTE;
929 if (tokens[i].type) {
933 if (tokens[i + 1].type != '=') {
937 name = tokens[i].name;
974 else if (reserved ("from", tokenix) || tokens[tokenix+1].type == ',')
1117 if (tokens[i].type == ',')
1128 if (tokens[i].type == ',')
1171 if (tokens[i].type != ',')
1198 if (i < ntokens && tokens[i].type != ',') {
1212 if (tokens[i].type == ',')
1237 if (tokens[t++].type == ',') {
1313 if (tokens[tokenix].type != ',')
1343 else if (tokens[tokenix+1].type == '|')
1347 else if (tokens[tokenix+1].type == '&')
1349 else if (tokens[tokenix+1].type == '+')
1351 else if (tokens[tokenix+1].type == '-')