=== src/pdb.c
==================================================================
--- src/pdb.c   (revision 133)
+++ src/pdb.c   (local)
@@ -136,7 +136,6 @@
     PDB_t *pdb;
     void *yyscanner;
 
-    do_yylex_init ( &yyscanner );
 
     /*Parrot_set_config_hash();  TODO link with cfg */
     debugger = Parrot_new(NULL);
@@ -153,6 +152,8 @@
     imcc_init(interpreter);
     IMCC_ast_init(interpreter);
 
+    do_yylex_init ( interpreter, &yyscanner );
+
     if (argc < 2) {
         fprintf(stderr, "Usage: pdb programfile [program-options]\n");
         Parrot_exit(interpreter, 1);

Merge back committed as revision 14822

Reply via email to