Home
last modified time | relevance | path

Searched refs:last_token (Results 1 – 11 of 11) sorted by relevance

/openbsd/src/gnu/usr.bin/binutils/gdb/
Dmacroexp.c69 int last_token; member
94 b->last_token = -1; in init_buffer()
107 buf->last_token = -1; in init_shared_buffer()
210 tok->last_token = 0; in set_token()
560 gdb_assert (src->last_token != -1); in append_tokens_without_splicing()
561 gdb_assert (dest->last_token != -1); in append_tokens_without_splicing()
569 if (dest->last_token == original_dest_len) in append_tokens_without_splicing()
571 dest->last_token = original_dest_len + src->last_token; in append_tokens_without_splicing()
578 dest->text + dest->last_token, in append_tokens_without_splicing()
579 dest->len - dest->last_token); in append_tokens_without_splicing()
[all …]
/openbsd/src/usr.bin/indent/
Dlexi.c314 && (ps.last_token == rparen || ps.last_token == semicolon || in lexi()
315 ps.last_token == decl || in lexi()
316 ps.last_token == lbrace || ps.last_token == rbrace)) { in lexi()
Dindent.c217 ps.last_token = semicolon; in main()
599 if (ps.last_token != comma || ps.p_l_follow > 0 in main()
610 (ps.last_token != ident || proc_calls_space in main()
614 if (troff && !ps.dumped_decl_indent && !is_procname && ps.last_token == decl) { in main()
809 if (ps.last_token == rparen && rparen_count == 0) in main()
996 if (ps.last_token == rparen && ps.tos <= 1) { in main()
1284 ps.last_token = type_code; in main()
Dindent_globs.h224 int last_token; member
/openbsd/src/gnu/usr.bin/gcc/gcc/cp/
Dspew.c159 static enum cpp_ttype last_token; variable
274 last_token = c_lex (&last_token_id);
277 switch (last_token)
1524 if (last_token == CPP_EOF)
1526 else if (last_token == CPP_CHAR || last_token == CPP_WCHAR)
1531 const char *const ell = (last_token == CPP_CHAR) ? "" : "L";
1540 else if (last_token == CPP_STRING
1541 || last_token == CPP_WSTRING)
1543 else if (last_token == CPP_NUMBER)
1545 else if (last_token == CPP_NAME)
[all …]
/openbsd/src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusNameParser.cpp734 clang::Token &last_token = m_tokens[range.end_index - 1]; in GetTextForRange() local
736 clang::SourceLocation end_loc = last_token.getLocation(); in GetTextForRange()
738 unsigned end_pos = end_loc.getRawEncoding() + last_token.getLength(); in GetTextForRange()
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dc-parse.in3284 static enum cpp_ttype last_token;
3580 if (last_token == CPP_EOF)
3582 else if (last_token == CPP_CHAR || last_token == CPP_WCHAR)
3585 const char *const ell = (last_token == CPP_CHAR) ? "" : "L";
3591 else if (last_token == CPP_STRING
3592 || last_token == CPP_WSTRING)
3594 else if (last_token == CPP_NUMBER)
3596 else if (last_token == CPP_NAME)
3599 error ("%s before '%s' token", string, NAME(last_token));
3639 last_token = CPP_STRING; /* so yyerror won't choke */
[all …]
DChangeLog.312076 * cpphash.c (collect_expansion): Make sure to reset last_token
/openbsd/src/usr.bin/fgen/
Dfgen.l1103 const char *last_token = "";
1283 last_token = fcode->name;
1293 depth(), last_token);
1295 last_token = "";
/openbsd/src/gnu/gcc/gcc/cp/
Dparser.c127 cp_token_position GTY ((skip)) last_token;
320 lexer->last_token = pos; in cp_lexer_new_main()
346 lexer->last_token = last; in cp_lexer_new_from_tokens()
596 if (token == lexer->last_token) in cp_lexer_peek_nth_token()
629 if (lexer->next_token == lexer->last_token) in cp_lexer_consume_token()
669 if (tok == lexer->last_token) in cp_lexer_purge_token()
689 peek = lexer->last_token; in cp_lexer_purge_tokens_after()
DChangeLog-20041060 next_token and last_token cp_token_position. Make saved_tokens a