commit | dc52f17a305522e082492ae9c70d16e83303ab66 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Oct 07 07:15:19 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Oct 07 07:15:19 2006 +0000 |
tree | 024f65544faffbeb322a2f350ab2b581a15a7f5e | |
parent | 85899b8b1010194f95b6c3a5fd461571b74418f9 [diff] [blame] |
regenerate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30799 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/FileParser.y.cvs b/utils/TableGen/FileParser.y.cvs index 205fee4..c0e478d 100644 --- a/utils/TableGen/FileParser.y.cvs +++ b/utils/TableGen/FileParser.y.cvs
@@ -90,7 +90,8 @@ std::vector<unsigned> *BitList, Init *V) { if (!V) return; - RecordVal *RV = CurRec->getValue(ValName); + Record *TheRec = getActiveRec(); + RecordVal *RV = TheRec->getValue(ValName); if (RV == 0) { err() << "Value '" << ValName << "' unknown!\n"; exit(1);