Request for better syntax checking in lang.opt

Thomas Koenig tkoenig@netcologne.de
Thu Feb 20 18:08:00 GMT 2020


Hi Martin,

> Sure, I can improve sanity checking.

Thanks!

> What exactly have you screwed up?
I had, in lang.opt

EnumValue
Enum (gfc_fcoarray) String (native) Value (GFC_FCOARRAY_NATIVE)

It was a bit non-obvious to me that this led to the whole sub-option
being ignored due to

*drum roll*

the space between the keywords and the opening parenthesis.  I have
internalized the GNU style guides to such an extent that I hardly
ever see the space there :-)

Regards

	Thomas



More information about the Gcc mailing list