The parser error said unclosed #function both for #macro and #function. Seems we can't tell the difference, for now.