help-gengetopt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] option name collision wi th builtin 'include' speci


From: Papp Gyozo (VBuster)
Subject: Re: [help-gengetopt] option name collision wi th builtin 'include' special directive
Date: Tue, 26 Oct 2010 17:07:30 +0200

> if you're in crazy hurry, I suggest you to manually modify the generated 
> parser and remove the use of "include" as a keyword with another string 
> (e.g., "FOOBAR"), in the line
> 
> if (!strcmp(fopt,"include")) {
> 
> this is a dirty hack but at least will keep you going for the moment.

Thanks.

> Then, we can think of a solution for this... e.g., using an escape 
> character for options whose name is right "include", e.g., "\include"...

I think that an option to disable this feature would be fine and enough.
This approach (dedicated option to switch on/off a specific feature) worked 
well in the past and this would cause less headache in the community.
 
> hope to hear from you soon

So do I :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]