• Home
  • Raw
  • Download

Lines Matching refs:BC_VM

48 #define BC_VM ((BcVm*) TT.vm)  macro
5615 BcInstPtr *ip = bc_vec_item_rev(&BC_VM->prog.stack, 0); in bc_vm_printError()
5616 BcFunc *f = bc_vec_item(&BC_VM->prog.fns, ip->func); in bc_vm_printError()
5650 BcProgram *prog = &BC_VM->prog; in bc_vm_clean()
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()
5681 s = bc_program_exec(&BC_VM->prog); in bc_vm_process()
5685 if (s || TT.sig) s = bc_program_reset(&BC_VM->prog, s); 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()
5810 bc_program_init(&BC_VM->prog); in bc_main()
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()
5838 bc_program_free(&BC_VM->prog); in bc_main()
5839 bc_parse_free(&BC_VM->prs); in bc_main()