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)
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

index 697f942c7cb4f3d2a937e0d7a6effbb22ae49812..1d40d04f1a656b635449684d5cbcdb489b4dc9de 100644 (file)
 
 int yydebug;
 
-/*
- * TODO: support enum, variant and struct declarations in scopes.
- */
-
 /* Join two lists, put "add" at the end of "head".  */
 static inline void
 _cds_list_splice_tail (struct cds_list_head *add, struct cds_list_head *head)
This page took 0.025108 seconds and 4 git commands to generate.