From d9f8784d4c73a257205f040eeb31414814db56f8 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 14 Oct 2020 12:46:53 -0700 Subject: 7031 --- apps/factorial.mu | 2 +- html/apps/factorial.mu.html | 2 +- 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) { 38 # len = length(args) 39 var len/ecx: int <- length args 40 $main-body: { -41 # if (len <= 1) factorial(5) +41 # if (len <= 1) return factorial(5) 42 compare len, 1 43 { 44 break-if-> -- cgit 1.4.1-2-gfad0