diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-10 14:34:17 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-10 14:34:17 -0700 |
commit | bd64bd723fa422bc092cec3a99adeeba8491ac98 (patch) | |
tree | 62312d79395adddc87ef79f14fbef941a8ccad76 /apps | |
parent | fdce202105b657518817613674e47a6f5f1428f3 (diff) | |
download | mu-bd64bd723fa422bc092cec3a99adeeba8491ac98.tar.gz |
6114
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mu.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index 1e923e37..bcfcac10 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -3098,7 +3098,7 @@ parse-var-with-type: # name: (addr slice), first-line: (addr stream byte) -> re # abort # --name->end to skip ':' # next-token-from-slice(name->start, name->end, '/', s) - # result = new-var(slice-to-string(s)) + # result = new-var-from-slice(s) # ## register # next-token-from-slice(s->end, name->end, '/', s) # if (!slice-empty?(s)) @@ -3135,7 +3135,7 @@ parse-var-with-type: # name: (addr slice), first-line: (addr stream byte) -> re $parse-var-with-type:parse-name: (next-token-from-slice *esi *(esi+4) 0x2f %ecx) # Slice-start, Slice-end, '/' $parse-var-with-type:create-var: - # edi = new-var(slice-to-string(s)) + # edi = new-var-from-slice(s) (new-var-from-slice Heap %ecx) # => eax 89/<- %edi 0/r32/eax # save v->register |