spasm-ng icon indicating copy to clipboard operation
spasm-ng copied to clipboard

Allow an empty input file to be parsed correctly

Open myclevorname opened this issue 1 year ago • 1 comments

Yes, it uses a goto statement. Even though goto statements are considered harmful, I think it is okay in this situation. This fixes #78.

myclevorname avatar Jun 08 '24 02:06 myclevorname

I'd also recommend adding a test for this, but that might not be easy to do since our tests are set up to have metadata in the input file.

tari avatar Jun 09 '24 23:06 tari