Skip to content

Commit

Permalink
Merge pull request #451 from avibryant/print_methlist_fullpath
Browse files Browse the repository at this point in the history
Show full file paths in method table
  • Loading branch information
JeffBezanson committed Feb 23, 2012
2 parents be2358b + cd675e8 commit 775c10d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,9 +1218,6 @@ static void print_methlist(char *name, jl_methlist_t *ml)
long lno = jl_unbox_long(li->line);
if (lno > 0) {
char *fname = ((jl_sym_t*)li->file)->name;
char *sep = strrchr(fname, '/');
if (sep)
fname = sep+1;
ios_printf(s, " at %s:%d", fname, lno);
}
}
Expand Down

0 comments on commit 775c10d

Please sign in to comment.