about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--apps/factorial.mu2
-rw-r--r--html/apps/factorial.mu.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/factorial.mu b/apps/factorial.mu
index 5cd8c510..dab0ca90 100644
--- a/apps/factorial.mu
+++ b/apps/factorial.mu
@@ -38,7 +38,7 @@ fn main args-on-stack: (addr array (addr array byte)) -> exit-status/ebx: int {
   # len = length(args)
   var len/ecx: int <- length args
   $main-body: {
-    # if (len <= 1) factorial(5)
+    # if (len <= 1) return factorial(5)
     compare len, 1
     {
       break-if->
diff --git a/html/apps/factorial.mu.html b/html/apps/factorial.mu.html
index 958139cf..b26c4123 100644
--- a/html/apps/factorial.mu.html
+++ b/html/apps/factorial.mu.html
@@ -97,7 +97,7 @@ if ('onhashchange' in window) {
 <span id="L38" class="LineNr">38 </span>  <span class="muComment"># len = length(args)</span>
 <span id="L39" class="LineNr">39 </span>  <span class="PreProc">var</span> len/<span class="Constant">ecx</span>: int <span class="SpecialChar">&lt;-</span> length args
 <span id="L40" class="LineNr">40 </span>  $main-body: <span class="Delimiter">{</span>
-<span id="L41" class="LineNr">41 </span>    <span class="muComment"># if (len &lt;= 1) factorial(5)</span>
+<span id="L41" class="LineNr">41 </span>    <span class="muComment"># if (len &lt;= 1) return factorial(5)</span>
 <span id="L42" class="LineNr">42 </span>    compare len, <span class="Constant">1</span>
 <span id="L43" class="LineNr">43 </span>    <span class="Delimiter">{</span>
 <span id="L44" class="LineNr">44 </span>      <span class="PreProc">break-if-&gt;</span>