[Issue 2392] Parsing ambiguity between function pointer declaration and function call

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 9 04:17:49 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2392





------- Comment #2 from terranium at yandex.ru  2008-10-09 06:17 -------
(In reply to comment #0)
> C-style declaration of p being a pointer to a
> function that returns type foo.

foo doesn't look like type to me, it's rather a forward declaration of a
function. So compiler just needs to distinguish functions from types.


-- 



More information about the Digitalmars-d-bugs mailing list