Open ngwood opened 2 years ago
The manpage for admsXml suggests a space is allowed between a -D command line option and its argument.
-D
-D NAME predefine NAME as a macro, with definition `1' -D NAME=DEFINITION predefine NAME as a macro, with definition DEFINITION
Currently it isn't.
This is handled by adms_preprocessor_get_define_from_argv in preprocessorMain.c rather than the getlist_from_argv defined in admsXml.c.
adms_preprocessor_get_define_from_argv
preprocessorMain.c
getlist_from_argv
admsXml.c
It looks like both getlist_from_argv and adms_preprocessor_get_define_from_argv will need updating to accommodate this feature robustly. Also, the -D option is also not the only one affected.
The manpage for admsXml suggests a space is allowed between a
-D
command line option and its argument.Currently it isn't.
This is handled by
adms_preprocessor_get_define_from_argv
inpreprocessorMain.c
rather than thegetlist_from_argv
defined inadmsXml.c
.