about summary refs log tree commit diff stats
path: root/011load.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-05 09:44:35 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-05 09:44:35 -0700
commit2d909c712b014539009d9910cc245ecc9aa4ab93 (patch)
treec9eb72da4258c9b2c559c1f6ad8d2530aa81f744 /011load.cc
parent1a0890bade2d32a761f6379005fd22ca70af9c84 (diff)
downloadmu-2d909c712b014539009d9910cc245ecc9aa4ab93.tar.gz
2149
Diffstat (limited to '011load.cc')
-rw-r--r--011load.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/011load.cc b/011load.cc
index b1c60b07..61d81ce0 100644
--- a/011load.cc
+++ b/011load.cc
@@ -36,7 +36,7 @@ vector<recipe_ordinal> load(istream& in) {
         raise << "redefining recipe " << Recipe[Recipe_ordinal[recipe_name]].name << "\n" << end();
       }
       // todo: save user-defined recipes to mu's memory
-      Recipe[Recipe_ordinal[recipe_name]] = slurp_recipe(in);
+      Recipe[Recipe_ordinal[recipe_name]] = slurp_body(in);
       Recipe[Recipe_ordinal[recipe_name]].name = recipe_name;
       // track added recipes because we may need to undo them in tests; see below
       recently_added_recipes.push_back(Recipe_ordinal[recipe_name]);
@@ -51,7 +51,7 @@ vector<recipe_ordinal> load(istream& in) {
   return result;
 }
 
-recipe slurp_recipe(istream& in) {
+recipe slurp_body(istream& in) {
   recipe result;
   skip_whitespace(in);
   if (in.get() != '[')