unable to have enum in doc...



Hi there,

Each time i try to build documentation of my project, i 
don't have enum...

i use gtk-doc 0.9
my work use gtk2.0
enum are defined like this :
typedef enum
  {
    LIMDI_DOC_STATE_MAXIMISED,
    LIMDI_DOC_STATE_VISIBLE,
    LIMDI_DOC_STATE_ICONIFIED
  } LimdiDocState ;

It seems to be bound with regexp line 465 of gtkdoc-scan
replacing
   if ($decl =~ m/\}\s*(\w+)?;\s*$/) {
with
   if ($decl =~ m/\}\s*(\w+)\s*;\s*$/) {
solve the pb for me !

hope this can help others whose face with the same pb !



-- 
----------------------------------------------------
Lecomte Jean-François                  Littéral S.A.
                               8, av. Duval le Camus
                    BP 156 -F92215 Saint-Cloud Cedex
                                              France
----------------------------------------------------
Tél. +33 0 146 02 84 76
Fax  +33 0 146 02 12 60
----------------------------------------------------
Web: http://www.litteral.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]