Searched refs:BC_LEX_EOF (Results 1 – 11 of 11) sorted by relevance
/external/bc/src/ |
D | dc_parse.c | 198 while ((t = p->l.t) != BC_LEX_EOF) { in dc_parse_expr() 218 else if (p->l.t == BC_LEX_EOF && (flags & BC_PARSE_NOCALL)) in dc_parse_expr() 228 if (BC_ERR(p->l.t == BC_LEX_EOF)) bc_parse_err(p, BC_ERR_PARSE_EOF); in dc_parse_parse()
|
D | lex.c | 88 if (!c) l->t = BC_LEX_EOF; in bc_lex_commonTokens() 210 if (BC_ERR(l->last == BC_LEX_EOF)) bc_lex_err(l, BC_ERR_PARSE_EOF); in bc_lex_next() 212 l->t = BC_LEX_EOF; in bc_lex_next()
|
D | data.c | 777 BC_PARSE_NEXT(4, BC_LEX_NLINE, BC_LEX_SCOLON, BC_LEX_RBRACE, BC_LEX_EOF); 781 BC_PARSE_NEXT(4, BC_LEX_COMMA, BC_LEX_NLINE, BC_LEX_SCOLON, BC_LEX_EOF); 786 BC_PARSE_NEXT(2, BC_LEX_NLINE, BC_LEX_EOF);
|
D | parse.c | 156 p->l.t = BC_LEX_EOF; in bc_parse_reset()
|
D | vm.c | 589 } while (vm.prs.l.t != BC_LEX_EOF); 766 while (vm.prs.l.t != BC_LEX_EOF) vm.parse(&vm.prs);
|
D | program.c | 467 if (BC_ERR(parse.l.t != BC_LEX_NLINE && parse.l.t != BC_LEX_EOF)) in bc_program_read() 1564 assert(prs.l.t == BC_LEX_EOF); in bc_program_execStr()
|
D | bc_parse.c | 1154 if (BC_ERR(p->l.t == BC_LEX_EOF)) bc_parse_err(p, BC_ERR_PARSE_EOF); in bc_parse_parse()
|
/external/bc/include/ |
D | parse.h | 57 ((p).l.t != BC_LEX_EOF && (p).l.t != BC_LEX_KW_DEFINE) 59 #define BC_PARSE_CAN_PARSE(p) ((p).l.t != BC_LEX_EOF)
|
D | lex.h | 73 BC_LEX_EOF, enumerator
|
D | bc.h | 110 ((t) == BC_LEX_SCOLON || (t) == BC_LEX_NLINE || (t) == BC_LEX_EOF)
|
/external/toybox/toys/pending/ |
D | bc.c | 330 BC_LEX_EOF, enumerator 509 ((t) == BC_LEX_SCOLON || (t) == BC_LEX_NLINE || (t) == BC_LEX_EOF) 760 BC_PARSE_NEXT(4, BC_LEX_NLINE, BC_LEX_SCOLON, BC_LEX_RBRACE, BC_LEX_EOF); 764 BC_PARSE_NEXT(4, BC_LEX_COMMA, BC_LEX_NLINE, BC_LEX_SCOLON, BC_LEX_EOF); 769 BC_PARSE_NEXT(2, BC_LEX_NLINE, BC_LEX_EOF); 2589 if (l->last == BC_LEX_EOF) return bc_lex_err(l, BC_ERROR_PARSE_EOF); in bc_lex_next() 2591 l->t = BC_LEX_EOF; in bc_lex_next() 2693 l->t = !c ? BC_LEX_EOF : BC_LEX_NLINE; in bc_lex_token() 3014 p->l.t = BC_LEX_EOF; in bc_parse_reset() 4171 if (p->l.t == BC_LEX_EOF) s = bc_parse_err(p, BC_ERROR_PARSE_EOF); in bc_parse_parse() [all …]
|