Index: Plug.tmpasm =================================================================== --- Plug.tmpasm (revision 25820) +++ Plug.tmpasm (revision 25821) @@ -1,8 +1,11 @@ put /local/pcb/mod {act_read} put /local/pcb/mod/OBJS [@ $(PLUGDIR)/act_read/act_read.o + $(PLUGDIR)/act_read/keywords_sphash.o @] +put /local/pcb/mod/SPHASH {$(PLUGDIR)/act_read/keywords.sphash} + switch /local/pcb/act_read/controls case {buildin} include /local/pcb/tmpasm/buildin; end; case {plugin} include /local/pcb/tmpasm/plugin; end; Index: act_idpath.c =================================================================== --- act_idpath.c (revision 25820) +++ act_idpath.c (revision 25821) @@ -1,6 +1,11 @@ /* includeed from act_read.c */ -static const char pcb_acts_IDPList[] = "IDPList([new|free|tostr])"; +static const char pcb_acts_IDPList[] = + "IDPList(new|free|print)\n" + "IDPList(get|print, idx)\n" + "IDPList(remove, idx)\n" + "IDPList(prepend|append, idpath)" + ; static const char pcb_acth_IDPList[] = "Basic idpath list manipulation."; static fgw_error_t pcb_act_IDPList(fgw_arg_t *res, int argc, fgw_arg_t *argv) { Index: act_read.c =================================================================== --- act_read.c (revision 25820) +++ act_read.c (revision 25821) @@ -33,8 +33,11 @@ #include "plugins.h" #include "misc_util.h" +#include "keywords_sphash.h" + #include "act_idpath.c" + static const char pcb_acts_GetValue[] = "GetValue(input, units, relative, default_unit)"; static const char pcb_acth_GetValue[] = "Convert a coordinate value. Returns an unitless double or FGW_ERR_ARG_CONV. The 3rd parameter controls whether to require relative coordinates (+- prefix). Wraps pcb_get_value_ex()."; static fgw_error_t pcb_act_GetValue(fgw_arg_t *res, int argc, fgw_arg_t *argv) Index: keywords.sphash =================================================================== --- keywords.sphash (nonexistent) +++ keywords.sphash (revision 25821) @@ -0,0 +1,7 @@ +alloc +append +free +get +prepend +print +remove