X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=init.c;h=da7227dc2f52c83182157114a2f48538e42dd78b;hb=2c06fdbfecfb8ac79b45da15708acf373cb3848d;hp=c86f23efcc8cfb014796864c7080ab9f3ede2f0d;hpb=964d019c57a55168e7219ab15b6a2596ff24683a;p=apps%2Fmadmutt.git diff --git a/init.c b/init.c index c86f23e..da7227d 100644 --- a/init.c +++ b/init.c @@ -2304,9 +2304,6 @@ static int mutt_execute_commands (string_list_t * p) return 0; } -#include "parse.h" -#include "rcparser.h" - void mutt_init (int skip_sys_rc, string_list_t * commands) { struct passwd *pw; @@ -2519,33 +2516,6 @@ void mutt_init (int skip_sys_rc, string_list_t * commands) } } -#if 0 - { - void *parser = ParseAlloc(malloc); - segment s1 = {" ", 1}; - segment s2 = {"toto", 4 }; - segment s3 = {"titi", 4 }; - segment s4 = {"\"", 1 }; - - mutt_endwin(NULL); - - ParseTrace(stderr, "> "); - Parse(parser, RCTK_ALT_ORDER, s1); - Parse(parser, RCTK_SPACE, s1); - Parse(parser, RCTK_ATOM, s2); - Parse(parser, RCTK_SPACE, s1); - Parse(parser, RCTK_DQUOTE, s4); - Parse(parser, RCTK_ATOM, s3); - Parse(parser, RCTK_SPACE, s1); - Parse(parser, RCTK_ATOM, s3); - Parse(parser, RCTK_DQUOTE, s4); - Parse(parser, RCTK_NL, s1); - Parse(parser, 0, s1); - - exit(0); - } -#endif - /* Read the user's initialization file. */ if (access (Muttrc, F_OK) != -1) { if (!option (OPTNOCURSES))