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

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

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

revision 707 by johnpye, Thu Jun 22 02:45:47 2006 UTC revision 708 by johnpye, Tue Jun 27 07:34:31 2006 UTC
# Line 222  extern struct module_t *Asc_OpenStringMo Line 222  extern struct module_t *Asc_OpenStringMo
222    if (inputstring != NULL) {    if (inputstring != NULL) {
223      /* copy and configure to string we keep for flex processing */      /* copy and configure to string we keep for flex processing */
224      input_len = strlen(inputstring);      input_len = strlen(inputstring);
225      keep_string = (char *)ascmalloc(input_len+3);      keep_string = ASC_NEW_ARRAY(char,input_len+3);
226      if (keep_string != NULL) {      if (keep_string != NULL) {
227        strcpy(keep_string,inputstring);        strcpy(keep_string,inputstring);
228        keep_string[++input_len] = '\0';        keep_string[++input_len] = '\0';

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

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