I am trying to unify my definition files to avoid duplicating, it works well since z80asm included others C style directives, like #ifndef.
The issue is that cannot put comments, because C uses // or *//*. It could be nice if at least z80asm would suppport one of them to be able to comment the common header files.
z80asm add C line comment style
-
- Member
- Posts: 71
- Joined: Sun Apr 01, 2018 4:02 pm
Re: z80asm add C line comment style
OK just realized, for those with the same problem, just put a semicolon at start of the line, so in your common C header file:
And works.
Code: Select all
;//your comment
#ifndef SOMETHING
#define SOMETHING 33
#endif