This commit is contained in:
Kartik K. Agaram 2014-12-13 23:26:15 -08:00
parent a4929041e6
commit 431f8bcd3d
2 changed files with 3 additions and 1 deletions

2
mu.arc
View File

@ -1372,7 +1372,7 @@
(= function*.name (convert-names:convert-labels:convert-braces:tokenize-args:insert-code body name))))
(def tokenize-arg (arg)
(if (is arg '<-)
(if (in arg '<- '_)
arg
(map [map [fromstring _ (read)] _]
(map [tokens _ #\:]

View File

@ -3311,6 +3311,8 @@
(tokenize-arg 'a:b/1:d))
(assert:iso '<-
(tokenize-arg '<-))
(assert:iso '_
(tokenize-arg '_))
; support labels
(assert:iso '((((default-scope scope-address)) <- ((new)) ((scope literal)) ((30 literal)))