From: Stefan S. <se...@sy...> - 2004-09-11 17:11:57
|
Grzegorz Jakacki wrote: > Ideally we could set up one common repo for the core part of opencxx > (nicknamed "OpenC++ Core) to be used by both OpenC++ and Synopsis. ideally, yes. But no matter what we end up doing, I strongly believe the opencxx code as it exists today should get this added, too, so we can use it as a reference. Whenever we are unsure whether the results we are seing elsewhere are correct, we can at least check with the old occ tests whether it's a regression or whether it has always been there. >> Grzegorz, what about my other mail ? Do you agree to make the change I >> propose, i.e. let 'occ' display the translated >> ptree if no '-p' option is given ? > > > Sorry for the delay. > > First, occ already has '-s' option. I assume the output you implemented > is better suited for e.g. testing. If so, please go ahead, just put it > under an option, preferably a long one ('--...'), that way we minimize > chances to accidentally hit some "well-known" one-letter option. yes, '-s' is already there. My proposal is to change the semantics such that it will behave as it always did when '-p' is specified, and else display the ptree after the translation instead of before. I honestly strongly doubt anybody would ever notice, as '-s' seems to me to be a debugging / testing / learning tool only. The change I'd like to make is thus trivial and involves only three lines of code that are moved down a bit :-) Regards, Stefan |