[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kdoc
Subject:    Re: Small bugs / enum
From:       Stefan Lang <lang () dxca21 ! bn ! DeTeMobil ! de>
Date:       2000-05-08 8:50:35
[Download RAW message or body]

Hans Martens wrote:
> ...
> 2) It fails to parse the old-style 'typdef enum':
> 
> typedef enum
> {
>     RP_VEL_NONE = 0,
>     RP_VEL_GSP,
>     RP_VEL_DSC,
>     RP_VEL_MSP,
>     RP_VEL_XW
> } RockPhysVelocAlg;
> 
> This is in itself not so problematic, but it then skips any class defs
> in the remainder of the .h file.
> ...
> 


Actually it does work, but kdoc doesn't like the type definition to be
split up into multiple lines. When I first encountered this problem,
kdoc didn't react for at least 10 minutes and I killed the process.
Later I realized that kdoc simply needs MINUTES to parse each line of
enum values and then wasn't able to recognize the typedef name.
Your typedef should be recognized correctly if you format the definition
like this:

typedef enum
{ RP_VEL_NONE = 0, RP_VEL_GSP, RP_VEL_DSC, RP_VEL_MSP, RP_VEL_XW
} RockPhysVelocAlg;

Regards,
  Stefan

-- 
#=================================#
" Stefan Lang                     "
" Danet GmbH Darmstadt            "
" Tel. (gesch.): +49(228)936-1431 "
" Tel. (privat): +49(6157)88417   "
#=================================#

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic