Skip to content

Incorrect file name in errors when using .import #160

@athas

Description

@athas

Suppose foo.s:

j bar

.include "bar.s"

And bar.s:

bar:    lw zero, 0(zero)

Then if you run java -jar rars.jar foo.s you will get an error reading:

Error in /home/athas/code/foo.s line 1: Runtime exception at 0x00400004: address out of range 0x00000000

But actually the error is in bar.s! The line number is correct, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions