Home
last modified time | relevance | path

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

/external/bc/src/
Ddc_parse.c198 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()
Dlex.c88 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()
Ddata.c777 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);
Dparse.c156 p->l.t = BC_LEX_EOF; in bc_parse_reset()
Dvm.c589 } while (vm.prs.l.t != BC_LEX_EOF);
766 while (vm.prs.l.t != BC_LEX_EOF) vm.parse(&vm.prs);
Dprogram.c467 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()
Dbc_parse.c1154 if (BC_ERR(p->l.t == BC_LEX_EOF)) bc_parse_err(p, BC_ERR_PARSE_EOF); in bc_parse_parse()
/external/bc/include/
Dparse.h57 ((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)
Dlex.h73 BC_LEX_EOF, enumerator
Dbc.h110 ((t) == BC_LEX_SCOLON || (t) == BC_LEX_NLINE || (t) == BC_LEX_EOF)
/external/toybox/toys/pending/
Dbc.c330 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 …]