Revision 1158

trunk/src/nh99/tpl2cpp.lex (revision 1158)
3604 3604
   /* fprintf(fdat,"%s","};\n");*/
3605 3605
    fprintf(fall,"%s","}\n\nvoid model_parameters::userfunction(void)\n{\n");
3606 3606
    fprintf(fall,"  %s%s",objective_function_name_string," =0.0;\n");
3607
    fprintf(fall,"  pad();\n");
3607
    if(yy_flex_debug){
3608
      fprintf(fall,"  pad();\n");
3609
    }
3608 3610

  
3609 3611
    add_references_to_user_classes(fall);
3610 3612

  
trunk/src/Makefile (revision 1158)
83 83
$(DESTDIR)\bin\tpl2rem.exe: $(LEXDESTDIR)\tpl2rem.c
84 84
	$(CC) /nologo /TC /Fo$(LEXDESTDIR)\ /Fe$@ $(LEXDESTDIR)\tpl2rem.c
85 85

  
86
$(LEXDESTDIR)\tpl2rem.c: df1b2-separable\tpl2rem.lex
87
	..\utilities\flex -w -o$(LEXDESTDIR)\lex.yy.c df1b2-separable\tpl2rem.lex 
88
	..\utilities\sed -f df1b2-separable\sedflex $(LEXDESTDIR)\lex.yy.c > $@
86
$(LEXDESTDIR)\tpl2cpp.c: nh99\tpl2cpp.lex
87
	!IF DEFINED(DEBUG)
88
	  \utilities\flex -o$(LEXDESTDIR)\lex.yy.c nh99\tpl2cpp.lex
89
	!ELSE
90
	  \utilities\flex -d -o$(LEXDESTDIR)\lex.yy.c nh99\tpl2cpp.lex
91
	!ENDIF
92
	\utilities\sed -f nh99\sedflex $(LEXDESTDIR)\lex.yy.c > $@
89 93

  
90 94
includes:
91 95
	IF NOT EXIST $(DESTDIR)\include md $(DESTDIR)\include

Also available in: Unified diff