Changeset: d9072060a5fd for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d9072060a5fd Modified Files: monetdb5/mal/mal_listing.c Branch: jit Log Message:
Report missing address bindings as well diffs (27 lines): diff --git a/monetdb5/mal/mal_listing.c b/monetdb5/mal/mal_listing.c --- a/monetdb5/mal/mal_listing.c +++ b/monetdb5/mal/mal_listing.c @@ -567,6 +567,7 @@ printSignature(stream *fd, Symbol s, int { InstrPtr p; str txt; + str addr=""; if ( s->def == 0 ){ mnstr_printf(fd, "missing definition of %s\n", s->name); @@ -576,7 +577,14 @@ printSignature(stream *fd, Symbol s, int if( txt){ p = getSignature(s); (void) fcnDefinition(s->def, p, txt, flg, txt, MAXLISTING); - mnstr_printf(fd, "%s\n", txt); + switch( p->token){ + case COMMANDsymbol: + case PATTERNsymbol: + if( p->fcn == NULL) + addr="#implementation missing"; + + } + mnstr_printf(fd, "%s%s\n", txt,addr); GDKfree(txt); } else GDKerror("printSignature"MAL_MALLOC_FAIL); } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list