Chip Salzenberg wrote:

Chip writes:

* optional parameter interface: ":opt_count" -> ":opt_flag"
     So ":opt_count" should be replaced with ":opt_flag", which sets
     its target register to a boolean indicating whether the
     immediately preceding parameter was passed or not, rather than a
     count of optionals present.

Done (r9254). The canonical sequence for passing optional args now is:

.sub foo
    .param <type> arg1   :optional
    .param int has_arg1  :opt_flag
    .param <type> arg2   :optional
    .param int has_arg2  :opt_flag
    ...

leo

Reply via email to