Don't fail tablegen immediately after failing to set a value.
authorPete Cooper <peter_cooper@apple.com>
Thu, 31 Jul 2014 01:44:00 +0000 (01:44 +0000)
committerPete Cooper <peter_cooper@apple.com>
Thu, 31 Jul 2014 01:44:00 +0000 (01:44 +0000)
commit4cc54cbb9031faa4cee0863d882c2b99c1bb89da
tree81f7a1ae5293b69935edac7570c917e1f4432dd8
parent040c6a6708a63ab1473919d6224cf6f1c8180815
Don't fail tablegen immediately after failing to set a value.

Instead allow the variable to be declared, but don't attach an initializer. This allows more than a single error to be emitted before we exit.

Test case to follow soon in another patch.

llvm-svn: 214375
llvm/lib/TableGen/TGParser.cpp