Revision 1639 trunk/src/df1b2-separable/tpl2rem.lex

tpl2rem.lex (revision 1639)
43 43
  int in_objective_function_value_flag=0;
44 44
  int  pvmslaves_defined=0;
45 45
  int  splus_debug_flag=0;
46
  int enable_pad = 0;
46 47
  int  spnumber_flag=0;
47 48
  int random_effects_flag=0;
48 49
  int data_defined=0;
......
3822 3823
    fprintf(fall,"%s","void model_parameters::userfunction(void)"
3823 3824
      "\n{\n");
3824 3825
    fprintf(fall,"  %s%s",objective_function_name_string," =0.0;\n");
3825
    if(splus_debug_flag){
3826
    if(enable_pad){
3826 3827
      fprintf(fall,"  pad();\n");
3827 3828
    }
3828 3829

  
......
5109 5110
  }  
5110 5111
  if ( (on=option_match(argc,argv,"-debug"))>-1)
5111 5112
  {
5112
    splus_debug_flag=1;
5113
    splus_debug_flag = 0;
5114
    enable_pad = 1;
5113 5115
  }  
5114 5116
  if ( (on=option_match(argc,argv,"-no_pad"))>-1)
5115 5117
  {

Also available in: Unified diff