I've split this into two patches (unrelated comments and the actual change), and I'm going to commit them.
It's not stylistically very good Scheme, I'm afraid. ;-) For example, this:
(if (null? format) (set! format (gnetlist:get-package-attribute refdes "net-format")) (set! format (car format)))
Would be better written as:
(set! format (if (null? format) (gnetlist:get-package-attribute refdes "net-format") (car format)))
Thanks for the patch.
I've split this into two patches (unrelated comments and the actual change), and I'm going to commit them.
It's not stylistically very good Scheme, I'm afraid. ;-) For example, this:
(if (null? format) get-package- attribute refdes "net-format"))
(set! format (gnetlist:
(set! format (car format)))
Would be better written as:
(set! format
(gnetlist: get-package- attribute refdes "net-format")
(if (null? format)
(car format)))
Thanks for the patch.