--- capa/capa51/pProj/capaCommon.c 2000/08/22 13:19:56 1.15 +++ capa/capa51/pProj/capaCommon.c 2000/10/24 22:17:19 1.17 @@ -48,6 +48,8 @@ int yyparse(); extern FILE *yyin; extern void yyrestart(); +extern FILE *dfp; + /*----------------------------------------------------------*/ /* RETURN: -1 file error */ /* 0 success */ @@ -3017,10 +3019,10 @@ capa_check_ans(ai,ans, error) AnswerInfo for(idx=0;idxanswer,answers[0],outcomes[0]); +#endif for(ii=1, ai = p->ans_list; ai; ii++,ai = ai->ans_next ) { outcomes[ii] = capa_check_ans(ai,answers[ii],&(errormsg[ii])); +#ifdef COMMON_DBUG + printf("CAPA_CHECK_ANS(%s,%s): outcome[%d]=%d\n", ai->ans_str,answers[ii],ii,outcomes[ii]); +#endif } done = ii = 0; result = 0;