X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcommon%2Flidefs.h;h=1a85dba5d267fc0463310db795d6e299aa7e5217;hb=0d8e8a95338560a1e0d96258d6def311cf2ad368;hp=4bdd511845694f6407cd73a4d93d29e4d8bb1a85;hpb=0e32325ca608ad2f11ad95ca95b3f8bf712a1685;p=cc65 diff --git a/src/common/lidefs.h b/src/common/lidefs.h index 4bdd51184..1a85dba5d 100644 --- a/src/common/lidefs.h +++ b/src/common/lidefs.h @@ -48,13 +48,14 @@ #define LI_TYPE_ASM 0U /* Normal assembler source */ #define LI_TYPE_EXT 1U /* Externally supplied line info */ #define LI_TYPE_MACRO 2U /* Macro expansion */ +#define LI_TYPE_MACPARAM 3U /* Macro parameter expansion */ /* Make a combined value from type and count */ #define LI_MAKE_TYPE(T,C) ((T) | (((unsigned)(C)) << 2U)) /* Extract type and count from a type field */ #define LI_GET_TYPE(T) ((T) & 0x03U) -#define LI_GET_COUNT(T) ((unsigned)(T) >> 2); +#define LI_GET_COUNT(T) ((unsigned)(T) >> 2)