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

(z80asm) C_LINE directive not supported with DEFVARS block #1852

Closed
suborb opened this issue Sep 3, 2021 · 0 comments
Closed

(z80asm) C_LINE directive not supported with DEFVARS block #1852

suborb opened this issue Sep 3, 2021 · 0 comments
Assignees

Comments

@suborb
Copy link
Member

suborb commented Sep 3, 2021

Slightly odd one this!

In stdio.h classic has a DEFVARS within #asm block.

When compiling the library with -debug the output is liberally splattered with C_LINE directives, so that we effectively end up with something like this:

DEFVARS 0 {
        C_LINE  126,"stdio.h"
    fp_desc         ds.w    1

}

Which reports syntax errors.

@pauloscustodio pauloscustodio self-assigned this Sep 6, 2021
pauloscustodio added a commit that referenced this issue Sep 8, 2021
Fix #1852: accept C_LINE inside DEFVARS and DEFGROUP
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

2 participants