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

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

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

revision 707 by johnpye, Tue Apr 18 06:55:20 2006 UTC revision 708 by johnpye, Tue Jun 27 07:34:31 2006 UTC
# Line 3533  CopyIntoWorkBuffer(CONST char *str, unsi Line 3533  CopyIntoWorkBuffer(CONST char *str, unsi
3533        g_workbuf_len *= 2;        g_workbuf_len *= 2;
3534      }      }
3535      if (g_workbuf == NULL ) {      if (g_workbuf == NULL ) {
3536        g_workbuf = (char*)ascmalloc( g_workbuf_len );        g_workbuf = ASC_NEW_ARRAY(char, g_workbuf_len );
3537      } else {      } else {
3538        g_workbuf = (char*)ascrealloc( (void*)g_workbuf, g_workbuf_len );        g_workbuf = (char*)ascrealloc( (void*)g_workbuf, g_workbuf_len );
3539      }      }

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

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