On Sat, 12 May 2012, Manuel López-Ibáñez wrote: > Well, I was trying to avoid "merging" flags. Are there any examples of > other such flags that are merged? The thing is that the "merge" done > right now is really just concatenating existing flags. It doesn't work > to set Init(1) and Init(0) in two different .opt files, so it wouldn't > work to set LangEnabledBy in different files for the same option.
I don't know examples of merging beyond concatenation. > One option is to parse LangEnabledBy before merging (which actually > happens in optc-gen.awk), which seems ugly, but probably is the most > straightforward solution. Would that be ok? It seems reasonable to me. -- Joseph S. Myers jos...@codesourcery.com