spasm-ng
spasm-ng copied to clipboard
Pass required string for ERR_INVALID_OPERANDS
When unable to parse an operand to something that appears to be a macro, ensure the required string for the error message is passed. Failing to do so causes undefined behavior when the error message is formatted, and reliably crashes.
Fixes #71.