stage1_2/iec_bison.yy
changeset 956 513809fbfaf9
parent 955 5e2e7707f770
child 958 7474d2cd1d6e
equal deleted inserted replaced
955:5e2e7707f770 956:513809fbfaf9
  8728   }
  8728   }
  8729 
  8729 
  8730   /*******************************/
  8730   /*******************************/
  8731   /* Do the  PRE parsing run...! */
  8731   /* Do the  PRE parsing run...! */
  8732   /*******************************/
  8732   /*******************************/
  8733   // fprintf (stderr, "----> Starting pre-parsing!\n");
  8733   if (runtime_options.pre_parsing) {
  8734   tree_root = NULL;
  8734     // fprintf (stderr, "----> Starting pre-parsing!\n");
  8735   set_preparse_state();
  8735     tree_root = NULL;
  8736   if (parse_files(libfilename, filename) < 0)
  8736     set_preparse_state();
  8737     exit(EXIT_FAILURE);
  8737     if (parse_files(libfilename, filename) < 0)
  8738   // TODO: delete the current AST. For the moment, we leave all the objects in memory (not much of an issue in a program that always runs to completion).
  8738       exit(EXIT_FAILURE);
  8739 
  8739     // TODO: delete the current AST. For the moment, we leave all the objects in memory (not much of an issue in a program that always runs to completion).
       
  8740   }
  8740   /*******************************/
  8741   /*******************************/
  8741   /* Do the main parsing run...! */
  8742   /* Do the main parsing run...! */
  8742   /*******************************/
  8743   /*******************************/
  8743   // fprintf (stderr, "----> Starting normal parsing!\n");
  8744   // fprintf (stderr, "----> Starting normal parsing!\n");
  8744   tree_root = NULL;
  8745   tree_root = NULL;