Refactor

* when *w%(...) -> when "...", "..."
* @cond_stack -> @optional_do_stack
:comment -> :kw