/[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 707 by johnpye, Wed Jun 21 07:00:45 2006 UTC revision 708 by johnpye, Tue Jun 27 07:34:31 2006 UTC
# Line 956  struct Statement *CopyToModify(struct St Line 956  struct Statement *CopyToModify(struct St
956    result = STMALLOC;    result = STMALLOC;
957    if (s->stringform != NULL) {    if (s->stringform != NULL) {
958      size = strlen(s->stringform);      size = strlen(s->stringform);
959      result->stringform = (char *)ascmalloc(size+1);      result->stringform = ASC_NEW_ARRAY(char,size+1);
960      memcpy(result->stringform,s->stringform,size+1);      memcpy(result->stringform,s->stringform,size+1);
961    }    }
962    result->ref_count = 1;    result->ref_count = 1;

Legend:
Removed from v.707  
changed lines
  Added in v.708

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