trace parser: Fix an error

any expects first parameter to be either a block or a sub.