Unable to understand this #define

Was reading through an opensource code and came across this #define implementation. Not able to understand this expression. does anyone know what it is?

#define JSON_SYM_SKIP(sym)    \
       [sym] = 0

what is that array like assignment doing?

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform