- STEP: fix bug that caused back references contained in nested aggregates to be not tracked.

pull/21/head
Alexander Gessler 2013-03-28 23:28:20 +01:00
parent fa5831f41a
commit cded602950
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ STEP::LazyObject::LazyObject(DB& db, uint64_t id,uint64_t /*line*/, const char*
--skip_depth; --skip_depth;
} }
if (skip_depth == 1 && *a=='#') { if (skip_depth >= 1 && *a=='#') {
const char* tmp; const char* tmp;
const int64_t num = static_cast<int64_t>( strtoul10_64(a+1,&tmp) ); const int64_t num = static_cast<int64_t>( strtoul10_64(a+1,&tmp) );
db.MarkRef(num,id); db.MarkRef(num,id);