dispatch_naming.c: when COCCI is defined, disable unparseable macros.

This commit is contained in:
Nick Mathewson 2019-10-09 12:47:21 -04:00
parent 04a74d4aa7
commit 9453746b5e

View File

@ -33,6 +33,7 @@ dispatch_naming_init(void)
{
}
#ifndef COCCI
/* Helper macro: declare functions to map IDs to and from names for a given
* type in a namemap_t.
*/
@ -56,6 +57,7 @@ dispatch_naming_init(void)
return namemap_get_size(&type##_id_map); \
} \
EAT_SEMICOLON
#endif
DECLARE_ID_MAP_FNS(message);
DECLARE_ID_MAP_FNS(channel);