Revision 1631 trunk/src/nh99/tpl2cpp.lex

tpl2cpp.lex (revision 1631)
42 42
  int  num_spargs=0;
43 43
  int  pvmslaves_defined=0;
44 44
  int  splus_debug_flag=0;
45
  int enable_pad =0;
45 46
  int  spnumber_flag=0;
46 47
  int data_defined=0;
47 48
  int in_define_data=0;
......
3614 3615
   /* fprintf(fdat,"%s","};\n");*/
3615 3616
    fprintf(fall,"%s","}\n\nvoid model_parameters::userfunction(void)\n{\n");
3616 3617
    fprintf(fall,"  %s%s",objective_function_name_string," =0.0;\n");
3617
    if(splus_debug_flag){
3618
    if(enable_pad){
3618 3619
      fprintf(fall,"  pad();\n");
3619 3620
    }
3620 3621

  
......
4320 4321
  }
4321 4322
  if ( (on=option_match(argc,argv,"-debug"))>-1)
4322 4323
  {
4323
    splus_debug_flag=1;
4324
    splus_debug_flag=0;
4325
    enable_pad = 1;
4324 4326
  }
4325 4327
  if ( (on=option_match(argc,argv,"-no_pad"))>-1)
4326 4328
  {

Also available in: Unified diff