Skip to content

[Bug]: Relative includes in zxbasm doesn't work outside of asm folder #1012

@rtorralba

Description

@rtorralba

Contact Details

@juntelart

Compiler version

v1.18.3

What happened?

Having an include like the following:

#include once "../../assets/fx/fx.asm"

And I try to compile the asm file (that has the include) from the same folder as asm is, it workx correctly.

zxbasm -t -o out.tap file.asm

But if I compile from other directory, for example, parent, says that don't find the include:

cd ..; zxbasm -t -o out.tap boriel/file.asm

Error and Warning messages

error: file 'boriel/../../assets/fx/fx.asm' not found

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions