Don't ever support named struct, enum, variant declaration within structures
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 16 May 2011 22:08:17 +0000 (18:08 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 16 May 2011 22:08:17 +0000 (18:08 -0400)
commit9ecfc3e6b596858f772e09a78832526ba808638a
treefdc3ad5c2f3e8c6b2174510efaff3e1822fe58f6
parent98df1c9fb24d5e7e10bf628692011e130e0d8339
Don't ever support named struct, enum, variant declaration within structures

Even gcc emits a warning:

blah.c:
struct blah {
struct bloh { int a; };
struct bloh a;
};

gcc -c -o blah blah.c
blah.c:4: warning: declaration does not declare anything

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/metadata/ctf-parser.y
This page took 0.023848 seconds and 4 git commands to generate.