Mercurial > projects > ddmd
changeset 21:26b9f97f6162
Added in some = new OutBuffer();'s to be on the safe side, been getting some issues with null OutBuffers.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Wed, 07 Apr 2010 00:51:29 +0100 |
parents | 1628b221808d |
children | fd4acc376c45 |
files | dmd/Scope.d |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dmd/Scope.d Wed Apr 07 00:29:13 2010 +0100 +++ b/dmd/Scope.d Wed Apr 07 00:51:29 2010 +0100 @@ -113,12 +113,14 @@ // Create root scope //printf("Scope.Scope() %p\n", this); + this.docbuf = new OutBuffer; this.structalign = global.structalign; } this(Module module_) { assert(false); + this.docbuf = new OutBuffer; } this(Scope enclosing) @@ -352,4 +354,4 @@ //assert(0); } } -} \ No newline at end of file +}