Lines Matching refs:prs
608 BcParse prs; member
5656 if (!BC_PARSE_NO_EXEC(&BC_VM->prs) && prog->stack.len == 1 && in bc_vm_clean()
5671 s = bc_parse_text(&BC_VM->prs, text); in bc_vm_process()
5674 while (BC_VM->prs.l.t != BC_LEX_EOF) { in bc_vm_process()
5675 s = bc_parse_parse(&BC_VM->prs); in bc_vm_process()
5679 if (BC_PARSE_NO_EXEC(&BC_VM->prs)) goto err; in bc_vm_process()
5695 bc_lex_file(&BC_VM->prs.l, file); in bc_vm_file()
5702 if (BC_PARSE_NO_EXEC(&BC_VM->prs)) in bc_vm_file()
5703 s = bc_parse_err(&BC_VM->prs, BC_ERROR_PARSE_BLOCK); in bc_vm_file()
5717 bc_lex_file(&BC_VM->prs.l, bc_program_stdin_name); in bc_vm_stdin()
5776 if (comment) s = bc_parse_err(&BC_VM->prs, BC_ERROR_PARSE_COMMENT); in bc_vm_stdin()
5777 else if (string) s = bc_parse_err(&BC_VM->prs, BC_ERROR_PARSE_STRING); in bc_vm_stdin()
5778 else if (BC_PARSE_NO_EXEC(&BC_VM->prs)) in bc_vm_stdin()
5779 s = bc_parse_err(&BC_VM->prs, BC_ERROR_PARSE_BLOCK); in bc_vm_stdin()
5811 bc_parse_init(&BC_VM->prs, &BC_VM->prog, BC_PROG_MAIN); in bc_main()
5823 bc_lex_file(&BC_VM->prs.l, bc_lib_name); in bc_main()
5824 s = bc_parse_text(&BC_VM->prs, bc_lib); in bc_main()
5826 while (!s && BC_VM->prs.l.t != BC_LEX_EOF) s = bc_parse_parse(&BC_VM->prs); in bc_main()
5839 bc_parse_free(&BC_VM->prs); in bc_main()