diff options
Diffstat (limited to 'nim/rodread.pas')
-rw-r--r-- | nim/rodread.pas | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nim/rodread.pas b/nim/rodread.pas index 549cfec58..a34153ccf 100644 --- a/nim/rodread.pas +++ b/nim/rodread.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. @@ -123,7 +123,7 @@ type files: TStringSeq; dataIdx: int; // offset of start of data section convertersIdx: int; // offset of start of converters section - initIdx, interfIdx, compilerProcsIdx: int; + initIdx, interfIdx, compilerProcsIdx, cgenIdx: int; filename: string; index, imports: TIndex; readerIndex: int; @@ -841,6 +841,10 @@ begin r.initIdx := r.pos+2; // "(\10" skipSection(r); end + else if section = 'CGEN' then begin + r.cgenIdx := r.pos+2; + skipSection(r); + end else begin MessageOut('skipping section: ' + toString(r.pos)); skipSection(r); |