Subversion Repositories wimsdev

Rev

Rev 13380 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13380 Rev 17976
Line 429... Line 429...
429
  if(t<0) oef_error("Source file bad or too long.");
429
  if(t<0) oef_error("Source file bad or too long.");
430
  if(t==0) oef_error("Empty source file.");
430
  if(t==0) oef_error("Empty source file.");
431
  if(checkparentheses(inpbuf,1)!=0) oef_error("Unmatched parentheses");
431
  if(checkparentheses(inpbuf,1)!=0) oef_error("Unmatched parentheses");
432
  outf=fopen(outfname,"w"); if(outf==NULL) oef_error("Unable to open output file.");
432
  outf=fopen(outfname,"w"); if(outf==NULL) oef_error("Unable to open output file.");
433
  fclose(outf); remove(outfname);
433
  fclose(outf); remove(outfname);
434
  vbuf_statement[0]=vbuf_hint[0]=vbuf_help[0]=vbuf_solution[0]=0;
434
  vbuf_statement[0]=vbuf_hint[0]=vbuf_help[0]=vbuf_solution[0]=vbuf_latex[0]=0;
435
  param[1].name="imagedir";param[1].type=pt_text;
435
  param[1].name="imagedir";param[1].type=pt_text;
436
  param[2].name="confparm1";param[2].type=pt_text;
436
  param[2].name="confparm1";param[2].type=pt_text;
437
  param[3].name="confparm2";param[3].type=pt_text;
437
  param[3].name="confparm2";param[3].type=pt_text;
438
  param[4].name="confparm3";param[4].type=pt_text;
438
  param[4].name="confparm3";param[4].type=pt_text;
439
  param[5].name="confparm4";param[5].type=pt_text;
439
  param[5].name="confparm4";param[5].type=pt_text;