Clean up parser, fix a bug that prevented this from working:
authorChris Lattner <sabre@nondot.org>
Wed, 3 Oct 2001 03:19:33 +0000 (03:19 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 3 Oct 2001 03:19:33 +0000 (03:19 +0000)
commitd05adbcdce7a7f56e7c3e4fad42e41132dd7361e
tree916c3fc13a004aee76bbea50b14c51d6f4d824e5
parentdf7306f1b93953ce99a8e4dadf74ac8f1d5686dc
Clean up parser, fix a bug that prevented this from working:

%ListNode3 = global %list { %list* null, int 4 }

because %list is name and the parser expected a literal {..} type there.

In addition, simplified rules that the fix (Allow any Types there, not just a StructType)
made obsolete.  Simplified type propogation a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@700 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/llvmAsmParser.y