#148994 cdecl fails to explain output of declare

Package:
cdecl
Source:
cdecl
Description:
Turn English phrases to C or C++ declarations
Submitter:
Goswin von Brederlow
Date:
2010-04-14 12:12:07 UTC
Severity:
normal
#148994#5
Date:
2002-06-04 09:40:44 UTC
From:
To:
cdecl> declare Welcome2 as function (function (int, float, char) returning pointer to pointer to char) returning pointer to char
char *Welcome2(char **(int , float , char ))
cdecl> explain char *Welcome2(char **(int , float , char ))
parse error

MfG
	Goswin

#148994#12
Date:
2004-04-19 15:43:52 UTC
From:
To:
A simple example where explain fails.

                 *works*
cdecl> declare a as pointer to function(int) returning void
void (*a)(int )
cdecl> explain void (*a)(int)
declare a as pointer to function (int) returning void

              *does not work*
cdecl> declare a as pointer to function(b as int) returning void
void (*a)(int b)
cdecl> explain void (*a)(int b)
syntax error