summaryrefslogtreecommitdiff
path: root/src/expand/format_args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand/format_args.cpp')
-rw-r--r--src/expand/format_args.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/format_args.cpp b/src/expand/format_args.cpp
index fe2bdfb4..e2ee35d3 100644
--- a/src/expand/format_args.cpp
+++ b/src/expand/format_args.cpp
@@ -183,7 +183,7 @@ namespace {
s ++;
} while(isdigit(*s));
if( arg_idx >= n_free )
- ERROR(sp, E0000, "Positional argument " << arg_idx << " out of range");
+ ERROR(sp, E0000, "Positional argument " << arg_idx << " out of range in \"" << format_string << "\"");
index = arg_idx;
}
else {