Skip to content

Commit

Permalink
[master] do not default to using the current filename (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhrr committed Apr 14, 2015
1 parent 7966bfc commit f5bfb33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion src/dale/MacroProcessor/MacroProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ MacroProcessor::parseMacroCall(Node *n, Function *macro_to_call)
if (result && units->print_expansions) {
const char *filename = n->filename;
if (!filename) {
filename = ctx->er->current_filename;
filename = "<unknown>";
}
printf("%s:%d:%d: expansion: ",
filename,
Expand Down
15 changes: 0 additions & 15 deletions test.dt

This file was deleted.

0 comments on commit f5bfb33

Please sign in to comment.