diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-02 08:20:53 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-02 08:20:53 -0800 |
commit | 32d5099fa005bdeed30bd1e6798b81e3a75f1a1a (patch) | |
tree | de0f521d0214d91a4f22be5c4da41eff0e8442ed /html/apps/ex2.2.mu.html | |
parent | 189d34dcff2ee968d4373254e208bb945adad234 (diff) | |
download | mu-32d5099fa005bdeed30bd1e6798b81e3a75f1a1a.tar.gz |
6077
Diffstat (limited to 'html/apps/ex2.2.mu.html')
-rw-r--r-- | html/apps/ex2.2.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/apps/ex2.2.mu.html b/html/apps/ex2.2.mu.html index 4cab5df4..dd193373 100644 --- a/html/apps/ex2.2.mu.html +++ b/html/apps/ex2.2.mu.html @@ -54,13 +54,13 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/master/apps/ex2.2.mu'>https://github.com/akkartik/mu/blob/master/apps/ex2.2.mu</a> <pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <a href='../mu-init-test.subx.html#L7'>main</a><span class="PreProc"> -> </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> +<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> main<span class="PreProc"> -> </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> <span id="L2" class="LineNr"> 2 </span> result <span class="Special"><-</span> foo <span id="L3" class="LineNr"> 3 </span><span class="Delimiter">}</span> <span id="L4" class="LineNr"> 4 </span> <span id="L5" class="LineNr"> 5 </span><span class="PreProc">fn</span> foo<span class="PreProc"> -> </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> <span id="L6" class="LineNr"> 6 </span> <span class="PreProc">var</span> n: int -<span id="L7" class="LineNr"> 7 </span> copy-to n, 3 +<span id="L7" class="LineNr"> 7 </span> copy-to n, <span class="Constant">3</span> <span id="L8" class="LineNr"> 8 </span> increment n <span id="L9" class="LineNr"> 9 </span> result <span class="Special"><-</span> copy n <span id="L10" class="LineNr">10 </span><span class="Delimiter">}</span> |