changed `xschem is_symgen` to `xschem is_generator` as name is more appropriate

This commit is contained in:
stefan schippers 2025-01-11 14:17:30 +01:00
parent 02d992d2a6
commit 172ab4081d
2 changed files with 2 additions and 2 deletions

View File

@ -2666,7 +2666,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
/* is_symgen symbol
* tell if 'symbol' is a generator (symbol(param1,param2,...) */
else if(!strcmp(argv[1], "is_symgen"))
else if(!strcmp(argv[1], "is_generator"))
{
char s[30];
if(argc > 2) {

View File

@ -165,7 +165,7 @@ char *get_generator_command(const char *str)
#endif
dbg(1, "get_generator_command(): cmd_filename=%s\n", cmd_filename);
dbg(1, "get_generator_command(): gen_cmd=%s\n", gen_cmd);
dbg(1, "get_generator_command(): is_symgen=%d\n", is_generator(str));
dbg(1, "get_generator_command(): is_generator=%d\n", is_generator(str));
end:
my_free(_ALLOC_ID_, &cmd);