illegal unary "%", missing left-hand operand. Fixes #1584