/[ascend]/trunk/base/generic/compiler/statement.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/statement.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 424 by ben.allan, Mon Apr 3 23:15:49 2006 UTC revision 425 by johnpye, Tue Apr 4 01:05:09 2006 UTC
# Line 993  struct Statement *CopyToModify(struct St Line 993  struct Statement *CopyToModify(struct St
993    case ASSERT:    case ASSERT:
994      result->v.asserts.test = CopyExprList(s->v.asserts.test);      result->v.asserts.test = CopyExprList(s->v.asserts.test);
995      break;      break;
996      case FIX:
997      case FREE:
998        result->v.fx.vars = CopyVariableList(s->v.fx.vars);
999        break;
1000    case IF:    case IF:
1001      result->v.ifs.test = CopyExprList(s->v.ifs.test);      result->v.ifs.test = CopyExprList(s->v.ifs.test);
1002      result->v.ifs.thenblock = CopyListToModify(s->v.ifs.thenblock);      result->v.ifs.thenblock = CopyListToModify(s->v.ifs.thenblock);

Legend:
Removed from v.424  
changed lines
  Added in v.425

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22