Missing code from DMD's 2.003 front-end? (ping Walter)
Ary Manzana
ary at esperanto.org.ar
Tue Jul 31 05:41:20 PDT 2007
Walter Bright wrote:
> Ary Manzana wrote:
>> Hi,
>>
>> While porting DMD's 2.003 source code to Java I realized that in
>> parse.c a new method "parseType" with several overloads was added.
>> However, the only definition of it is the following:
>>
>> Type *Parser::parseType(Identifier **pident, TemplateParameters **tpl);
>
> That's incorrect. In parse.h, the correct definition gives =NULL as the
> default value for each parameter.
Thanks! I didn't know you could assign default parameters in the
declaration and not repeat them in the definition.
More information about the Digitalmars-d
mailing list