Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The inclusion loop detection does not work #610

Open
lupino3 opened this issue Aug 8, 2021 · 0 comments
Open

The inclusion loop detection does not work #610

lupino3 opened this issue Aug 8, 2021 · 0 comments

Comments

@lupino3
Copy link
Member

lupino3 commented Aug 8, 2021

The file inclusion feature (#include directive) has some code to detect inclusion loops, but it doesn't work.

Adding a simple test case in the following form is enough to expose the bug:

include-1.s

#include include-2.s

.code:
    syscall 0

include-2.s

#include include-1.s

.code:
    syscall 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant