/[ascend]/trunk/base/generic/compiler/scanner.l
ViewVC logotype

Diff of /trunk/base/generic/compiler/scanner.l

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

revision 707 by johnpye, Thu Jun 22 00:48:31 2006 UTC revision 708 by johnpye, Tue Jun 27 07:34:31 2006 UTC
# Line 928  CopyIntoWorkBuffer(CONST char *str, unsi Line 928  CopyIntoWorkBuffer(CONST char *str, unsi
928        g_workbuf_len *= 2;        g_workbuf_len *= 2;
929      }      }
930      if (g_workbuf == NULL ) {      if (g_workbuf == NULL ) {
931        g_workbuf = (char*)ascmalloc( g_workbuf_len );        g_workbuf = ASC_NEW_ARRAY(char, g_workbuf_len );
932      } else {      } else {
933        g_workbuf = (char*)ascrealloc( (void*)g_workbuf, g_workbuf_len );        g_workbuf = (char*)ascrealloc( (void*)g_workbuf, g_workbuf_len );
934      }      }

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

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