]> git.sur5r.net Git - cc65/blobdiff - src/common/lidefs.h
Added cc65_symbol_byscope.
[cc65] / src / common / lidefs.h
index 4bdd511845694f6407cd73a4d93d29e4d8bb1a85..1a85dba5d267fc0463310db795d6e299aa7e5217 100644 (file)
 #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)