lua is the way to go. drop the lemon things.
[apps/madmutt.git] / init.c
diff --git a/init.c b/init.c
index 2889e5e..bcb8139 100644 (file)
--- a/init.c
+++ b/init.c
@@ -2519,40 +2519,6 @@ void mutt_init (int skip_sys_rc, string_list_t * commands)
     }
   }
 
-#if 0
-  {
-    void *parser = rcparseAlloc(malloc);
-    struct rcstate state;
-    segment s1 = {" ", 1};
-    segment s2 = {"toto", 4 };
-    segment s3 = {"titi", 4 };
-    segment s4 = {"\"", 1 };
-    segment s5 = {"index_format", 12 };
-
-    mutt_endwin(NULL);
-
-    p_clear(&state, 1);
-
-    rcparseTrace(stderr, "> ");
-    rcparse(parser, RCTK_ALTERNATIVE_ORDER, s1, &state);
-    rcparse(parser, RCTK_SPACE, s1, &state);
-    rcparse(parser, RCTK_ATOM, s2, &state);
-    rcparse(parser, RCTK_SPACE, s1, &state);
-    rcparse(parser, RCTK_DQUOTE, s4, &state);
-    rcparse(parser, RCTK_ATOM, s3, &state);
-    rcparse(parser, RCTK_SPACE, s1, &state);
-    rcparse(parser, RCTK_ATOM, s3, &state);
-    rcparse(parser, RCTK_DQUOTE, s4, &state);
-    rcparse(parser, RCTK_SPACE, s1, &state);
-    rcparse(parser, RCTK_DOLLAR, s1, &state);
-    rcparse(parser, RCTK_ATOM, s5, &state);
-    rcparse(parser, RCTK_NL, s1, &state);
-    rcparse(parser, 0, s1, &state);
-
-    exit(0);
-  }
-#endif
-
   /* Read the user's initialization file.  */
   if (access (Muttrc, F_OK) != -1) {
     if (!option (OPTNOCURSES))