Is there a way to define a multi-line production with the following syntax ? PLY expects : before ID implying one production per line.
def p_envvar(p):
'''
envvar : EV \
ID \
COLON \
INT_VAL \
BOX_OPEN \
INT_VAL \
SEP \
INT_VAL \
BOX_CLOSE \
STRING_VAL \
INT_VAL \
INT_VAL \
DUMMY_NODE_VECTOR \
comma_identifier_list \
SEMICOLON
'''