Changeset 824
- Timestamp:
- 06/27/07 17:51:44 (17 months ago)
- Files:
-
- 1 modified
-
branches/volker_dev/evaluator.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/volker_dev/evaluator.c
r822 r824 1036 1036 case O_OR: /* logical OR */ 1037 1037 type = R_NUMBER; 1038 EvalTree( Child[0]);1038 EvalTree(Root->Child[0]); 1039 1039 if (R2N(Root->Child[0]->Result) == 0.0) { 1040 EvalTree( Child[1])1041 number = (Child[1]->Result!= 0.0);1040 EvalTree(Root->Child[1]); 1041 number = (R2N(Root->Child[1]->Result) != 0.0); 1042 1042 } else { 1043 1043 number = 1.0; … … 1049 1049 EvalTree(Root->Child[0]); 1050 1050 if (R2N(Root->Child[0]->Result) != 0.0) { 1051 EvalTree( Child[1])1052 number = (Child[1]->Result!= 0.0);1051 EvalTree(Root->Child[1]); 1052 number = (R2N(Root->Child[1]->Result) != 0.0); 1053 1053 } else { 1054 1054 number = 0.0;
