]> git.baikalelectronics.ru Git - kernel.git/commit
doc-rst: parse-headers: fix multiline typedef handler
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 11:09:37 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 11:12:57 +0000 (08:12 -0300)
commit55f765e27b6a60a8e242a2bc2817182fb61b22f0
treefd626c02a16fa772ad3b05dd05d1106596b6dea3
parente338c139a341b7a51a457bdcb444d60d5e44d67d
doc-rst: parse-headers: fix multiline typedef handler

The typedef handler should do two things to be generic:
  1) parse typedef enums;
  2) accept both possible syntaxes:
 typedef struct foo { .. } foo_t;
 typedef struct { .. } foo_t;

Unfortunately, this is needed to parse some legacy DVB
files, like dvb/audio.h.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/sphinx/parse-headers.pl