ieml/grammar/paths/parser/parser.py
def p_product(self, p):
        """ product : additive_path_p
                    | coordinate
                    | product additive_path_p
                    | product coordinate"""
        if len(p) == 2:
            p[0] = [p[1]]
        else:
            p[0] = p[1] + [p[2]]
def p_product(self, p):
        """ product : additive_path_p
                    | coordinate
                    | product additive_path_p
                    | product coordinate"""
        if len(p) == 2:
            p[0] = [p[1]]
        else:
            p[0] = p[1] + [p[2]]
def p_product ( self , p ) : if len ( p ) == 2 : p [ 0 ] = [ p [ 1 ] ] else : p [ 0 ] = p [ 1 ] + [ p [ 2 ] ]
product : additive_path_p
                    | coordinate
                    | product additive_path_p
                    | product coordinate
product : additive_path_p | coordinate | product additive_path_p | product coordinate