Lines Matching defs:next

112 static char *charstr(char *ptr, unsigned char c, unsigned char escape, unsigned char next)
129 if (!isdigit(next))
469 eof_token_entry.next = &eof_token_entry;
472 end->next = &eof_token_entry;
483 token->next = NULL;
485 stream->tokenlist = &token->next;
545 static int get_one_number(int c, int next, stream_t *stream)
553 long class = cclass[next + 1];
557 *p++ = next;
558 next = nextchar(stream);
560 if (next == '-' || next == '+') {
562 *p++ = next;
563 next = nextchar(stream);
582 return next;
585 static int eat_string(int next, stream_t *stream, enum token_type type)
595 for (escape = 0; escape || next != delim; next = nextchar(stream)) {
597 buffer[len] = next;
599 if (next == '\n') {
605 if (next == EOF) {
608 return next;
611 if (want_hex && !(cclass[next + 1] & Hex))
615 escape = next == '\\';
618 want_hex = next == 'x';
663 int next;
667 next = nextchar(stream);
669 int curr = next;
674 next = nextchar(stream);
675 if (curr == '*' && next == '/')
747 int next, value, i;
749 next = nextchar(stream);
756 if (next >= '0' && next <= '9')
757 return get_one_number(c, next, stream);
760 return eat_string(next, stream, TOKEN_STRING);
762 return eat_string(next, stream, TOKEN_CHAR);
764 if (next == '/')
766 if (next == '*')
774 if (cclass[next + 1] & ValidSecond) {
775 i = special_hash(c, next);
776 if (hash_results[i][0] == c && hash_results[i][1] == next) {
778 next = nextchar(stream);
780 next == "==."[value - SPECIAL_LEFTSHIFT]) {
782 next = nextchar(stream);
792 return next;
823 ident = ident->next;
848 ident->next = hash_table[hash];
863 goto next;
868 next:
870 p = &ident->next;
874 ident->next = NULL;
922 int next;
927 next = nextchar(stream);
928 if (!(cclass[next + 1] & (Letter | Digit)))
932 hash = ident_hash_add(hash, next);
933 buf[len] = next;
936 if (cclass[next + 1] & Quote) {
938 if (next == '\'')
954 return next;
986 stream->tokenlist = &begin->next;
1034 end->next = endtoken;