about summary refs log tree commit diff stats
path: root/html/038new_text.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-07-05 01:08:00 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-07-05 01:08:00 -0700
commit298f8065857630e414d84e4ee785a6d17e5f99bb (patch)
tree8880a092ab59850a6f821ba892f3904ab464431c /html/038new_text.cc.html
parentf28f2636c6707e1a33bebacafd0486f4965978ea (diff)
downloadmu-298f8065857630e414d84e4ee785a6d17e5f99bb.tar.gz
3102
Diffstat (limited to 'html/038new_text.cc.html')
-rw-r--r--html/038new_text.cc.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/html/038new_text.cc.html b/html/038new_text.cc.html
index 179c33a0..35d3a2c9 100644
--- a/html/038new_text.cc.html
+++ b/html/038new_text.cc.html
@@ -120,6 +120,17 @@ def main [
 ]
 <span class="traceContains">+app: abc foo</span>
 
+<span class="Delimiter">:(scenario stash_string_as_array)</span>
+def main [
+  <span class="Constant">1</span>:address:array:character<span class="Special"> &lt;- </span><span class="Normal">new</span> [abc]
+  stash *<span class="Constant">1</span>:address:array:character
+]
+<span class="traceContains">+app: 3 97 98 99</span>
+
+<span class="Comment">//: fixes way more than just stash</span>
+<span class="Delimiter">:(before &quot;End Preprocess is_mu_string(reagent x)&quot;)</span>
+<span class="Normal">if</span> <span class="Delimiter">(</span>!canonize_type<span class="Delimiter">(</span>x<span class="Delimiter">))</span> <span class="Identifier">return</span> <span class="Constant">false</span><span class="Delimiter">;</span>
+
 <span class="Comment">//: Allocate more to routine when initializing a literal string</span>
 <span class="Delimiter">:(scenario new_string_overflow)</span>
 <span class="Special">% Initial_memory_per_routine = 2;</span>