-
Joel K. Pettersson authored
Tweak usage notice for conciseness. Change the -h option to list topics available with -h <topic>. For now, only other lists are available, the first built-in help consisting of a 'wave' type list and a 'ramp' list. Parser warnings now use the new code for listing valid items. But a meta-list, of the lists to be available with -h, needs manual extension in help.c when more are added. All lists are in the same format. Change log: * 2020-01-18: Add help module, expand -h. Simple code for printing out name array, used for wave module. Easily extended to print out more lists in the same format. * 2020-02-16: Split out "Common options" usage line. * 2020-07-23: Move to saugns from the 2020-06 "mgensys" experiment. Re-do adapting to use modified symtab. Replace 'noise' help type with 'ramp'. Old branch: - 2020-01-22: Import saugns v0.3.6d symtab. Use in parser. Replace parser strfind() using symtab pool pointers. Use mempool for parser and program nodes. Add MGS_LangOpt for pool wave_names in parser & program, make symtab pool_stra store additional end NULL pointer, remove useless name arr count for parser pool stra uses. Adjust parser messages ("label" -> "named value", etc.). - 2020-01-26: Remove symtab get/set functions, rename types, expose MGS_SymStr type - used directly in parser to simplify code. - 2020-02-02: Adjust for newer code. - 2020-02-03: Small clean-up. Reindent program.h. Re-add common.h #define for symtab testing, moved to mgensys.h. - 2020-02-10: Add noise module with noise names, and add help type.
cf329788