about summary refs log tree commit diff stats
path: root/cpp/011load.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-02 15:26:13 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-02 15:26:13 -0700
commit518e6c5e571077ecc29d28f620f7312cf18bd5d0 (patch)
treed8b2277456ff82da7428945dcb509961a3820dcb /cpp/011load.cc
parentd9a7e6abc7dba8e84a5e80a6593145f1aaeb6f6c (diff)
downloadmu-518e6c5e571077ecc29d28f620f7312cf18bd5d0.tar.gz
1240 - fix a spuriously passing test
Running list of non-obvious special cases in tangle:
  a) trace checks are sometimes grouped, sometimes not (previous commit)
  b) comments are sometimes passed through, sometimes not
Diffstat (limited to 'cpp/011load.cc')
-rw-r--r--cpp/011load.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/011load.cc b/cpp/011load.cc
index df64cae7..35a9bf23 100644
--- a/cpp/011load.cc
+++ b/cpp/011load.cc
@@ -202,7 +202,9 @@ for (size_t i = 0; i < recently_added_recipes.size(); ++i) {
 recently_added_recipes.clear();
 
 :(scenario parse_comment_outside_recipe)
-# comment
+# this comment will be dropped by the tangler, so we need a dummy recipe to stop that
+recipe f1 [ ]
+# this comment will go through to 'load'
 recipe main [
   1:integer <- copy 23:literal
 ]