replaced calls to NEW by calls to ALLOCATE
This commit is contained in:
@@ -110,7 +110,7 @@ IMPLEMENTATION MODULE PascalIO;
|
||||
text := text^.next;
|
||||
END;
|
||||
IF text = NIL THEN
|
||||
NEW(text);
|
||||
ALLOCATE(text,SIZE(IOBuf));
|
||||
text^.next := head;
|
||||
head := text;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user