Re: [patch] duplicate convert_and_check in the c++ front end

2006-04-03 Thread Steven Bosscher
On 4/3/06, Rafael EspĂ­ndola <[EMAIL PROTECTED]> wrote: > The attached patch duplicates convert_and_check into the c++ front > end. *cough* Non-normatively speaking, code duplication sucks :-) Is there a reason why you can't use c-common.* and c_dialect_cxx() instead? Gr. Steven

[patch] duplicate convert_and_check in the c++ front end

2006-04-03 Thread Rafael EspĂ­ndola
The attached patch duplicates convert_and_check into the c++ front end. I would like to include it to be able to remove the convert callback latter on. Duplicating convert_and_check makes it is easy to use cxx_convert in the c++ front end and c_convert in the c front end. Thanks, Rafael 2006-04-0