Skip to content
Commit 70ae491e authored by Chris Lattner's avatar Chris Lattner
Browse files

The callers of ParseStructDeclaration are not expecting it to

eat the terminating ;.  Fix one place where it did, allowing this
to compile without error:

struct x {
 int a;
 union {
  int b;
  float c;
 };

 int d;
};

This reduces diagnostics on PR1750 from 33 to 27.

llvm-svn: 43437
parent 3bc4d208
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment