static void init_global_objects (RState* r) { init_oom_error (r); init_const_number (r); init_reserved_words (r); init_std_ports (r); }
int main(int argc, const char *argv[]) { if (argc != 3) { fprintf(stderr, "Usage: %s source_file_name reserved_word_file_name\n", argv[0]); exit(1); } /* argv[1] is filename, argv[2] is reserved_word_file */ init_lexer(argv[1]); init_reserved_words(argv[2]); init_output(argv[1]); DEBUG_PRINT(("PARSING\n")); return parse(); }