diff options
Diffstat (limited to 'nim/semdata.pas')
-rw-r--r-- | nim/semdata.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nim/semdata.pas b/nim/semdata.pas index 9ffd41eac..3393ed4b3 100644 --- a/nim/semdata.pas +++ b/nim/semdata.pas @@ -1,7 +1,7 @@ // // // The Nimrod Compiler -// (c) Copyright 2008 Andreas Rumpf +// (c) Copyright 2009 Andreas Rumpf // // See the file "copying.txt", included in this // distribution, for details about the copyright. @@ -128,6 +128,7 @@ end; function newProcCon(owner: PSym): PProcCon; begin + if owner = nil then InternalError('owner is nil'); new(result); {@ignore} fillChar(result^, sizeof(result^), 0); |