Lines Matching refs:token
332 register Token token = (Token)psw_calloc(sizeof(TokenRec), 1);
334 token->next = NULL;
335 token->type = type;
336 token->val = val;
337 token->sourceLine = yylineno;
357 token->namedFormal = dictVal; /* ok, so assign a value */
365 return token;
370 register Token token = (Token)psw_calloc(sizeof(TokenRec), 1);
374 token->next = NULL;
375 token->type = type;
376 token->val = val;
377 token->sourceLine = yylineno;
404 token->body.var = (char *) ind;
405 token->namedFormal = dictVal; /* ok, so assign a value */
406 return token;
411 free(token);
491 Tokens AppendPSWToken(Token token, Tokens tokens)
496 if ((token->type == T_NAME) && (token->namedFormal)) {
497 if( token->namedFormal->isoutput) {
502 free(token->val);
503 oldtoken = token;
504 token = PSWToken(T_INT, (char *) token->namedFormal->tag);
506 token->next = PSWToken(T_NAME, ss);
508 if (token->namedFormal->type == T_USEROBJECT) {
512 token->next = PSWToken(T_NAME, ss);
517 firstToken = lastToken = token;
518 return token;
524 lastToken = t->next = token;