comparison main.c @ 193:079304130850

the option lists need to stay sorted.
author David A. Holland
date Fri, 12 Jun 2015 22:00:45 -0400
parents 16b4451e34b8
children f5981d0ee2b4
comparison
equal deleted inserted replaced
192:255db24bc29b 193:079304130850
780 { "C", &mode.output_retain_comments, true }, 780 { "C", &mode.output_retain_comments, true },
781 { "CC", &mode.output_retain_comments, true }, 781 { "CC", &mode.output_retain_comments, true },
782 { "MG", &mode.depend_assume_generated, true }, 782 { "MG", &mode.depend_assume_generated, true },
783 { "MP", &mode.depend_issue_fakerules, true }, 783 { "MP", &mode.depend_issue_fakerules, true },
784 { "P", &mode.output_linenumbers, false }, 784 { "P", &mode.output_linenumbers, false },
785 { "p", &mode.output_cheaplinenumbers, true },
786 { "Wcomment", &warns.nestcomment, true }, 785 { "Wcomment", &warns.nestcomment, true },
787 { "Wendif-labels", &warns.endiflabels, true }, 786 { "Wendif-labels", &warns.endiflabels, true },
788 { "Werror", &mode.werror, true }, 787 { "Werror", &mode.werror, true },
789 { "Wno-comment", &warns.nestcomment, false }, 788 { "Wno-comment", &warns.nestcomment, false },
790 { "Wno-endif-labels", &warns.endiflabels, false }, 789 { "Wno-endif-labels", &warns.endiflabels, false },
794 { "Wundef", &warns.undef, true }, 793 { "Wundef", &warns.undef, true },
795 { "Wunused-macros", &warns.unused, true }, 794 { "Wunused-macros", &warns.unused, true },
796 { "fdollars-in-identifiers", &mode.input_allow_dollars, true }, 795 { "fdollars-in-identifiers", &mode.input_allow_dollars, true },
797 { "fno-dollars-in-identifiers", &mode.input_allow_dollars, false }, 796 { "fno-dollars-in-identifiers", &mode.input_allow_dollars, false },
798 { "nostdinc", &mode.do_stdinc, false }, 797 { "nostdinc", &mode.do_stdinc, false },
798 { "p", &mode.output_cheaplinenumbers, true },
799 { "undef", &mode.do_stddef, false }, 799 { "undef", &mode.do_stddef, false },
800 }; 800 };
801 static const unsigned num_flag_options = HOWMANY(flag_options); 801 static const unsigned num_flag_options = HOWMANY(flag_options);
802 802
803 static const struct act_option act_options[] = { 803 static const struct act_option act_options[] = {