cvut / qtrvsim

RISC-V CPU simulator for education purposes
GNU General Public License v3.0
466 stars 56 forks source link

src: add check on parse_immediate_value #111

Closed trdthg closed 5 months ago

trdthg commented 5 months ago

close #51

Looks like this check got accidentally discarded.

image

error message now

image

trdthg commented 5 months ago

@jdupak you may check this, very little fix

jdupak commented 5 months ago

Great work @trdthg, I have also added a second fix that removed the expression parse error on empty string. The problem was that empty reloc expression was created.

I am merging this at as soon as the CI finishes.

trdthg commented 5 months ago

great, much clear now, you acted so quickly.