ieml/grammar/paths/parser/parser.py
def p_path(self, p):
        """path : additive_path"""
        if len(p[1].children) == 1:
            p[0] = p[1].children[0]
        else:
            p[0] = p[1]
def p_path(self, p):
        """path : additive_path"""
        if len(p[1].children) == 1:
            p[0] = p[1].children[0]
        else:
            p[0] = p[1]
def p_path ( self , p ) : if len ( p [ 1 ] . children ) == 1 : p [ 0 ] = p [ 1 ] . children [ 0 ] else : p [ 0 ] = p [ 1 ]
path : additive_path
path : additive_path