about summary refs log tree commit diff stats
path: root/043space.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-03-05 00:13:54 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-03-05 00:13:54 -0800
commite06ff621795cccdae9c512b1a1734ec80196b634 (patch)
treeef11d1af08b7666869927274f3e0cacf4e37991d /043space.cc
parent7183dbc7f26bd51c169d3b346ce42b751f3b8fb0 (diff)
downloadmu-e06ff621795cccdae9c512b1a1734ec80196b634.tar.gz
3754
Improve an error message. 'local-scope' is far more common in Mu programs
than the more fundamental 'default-space'.
Diffstat (limited to '043space.cc')
-rw-r--r--043space.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/043space.cc b/043space.cc
index 879561ee..a07d2528 100644
--- a/043space.cc
+++ b/043space.cc
@@ -406,7 +406,7 @@ void check_default_space(const recipe_ordinal r) {
   if (caller.steps.empty()) return;
   if (caller.steps.at(0).products.empty()
       || caller.steps.at(0).products.at(0).name != "default-space") {
-    raise << caller.name << " does not seem to start with default-space or local-scope\n" << end();
+    raise << caller.name << " does not seem to start with 'local-scope' or 'default-space'\n" << end();
   }
 }
 :(after "Load Mu Prelude")