ieml/grammar/paths/parser/parser.py
def p_path_sum(self, p):
        """ path_sum : ctx_path
                  | path_sum PLUS ctx_path"""
        if len(p) == 2:
            p[0] = [p[1]]
        else:
            p[0] = p[1] + [p[3]]
def p_path_sum(self, p):
        """ path_sum : ctx_path
                  | path_sum PLUS ctx_path"""
        if len(p) == 2:
            p[0] = [p[1]]
        else:
            p[0] = p[1] + [p[3]]
path_sum : ctx_path
                  | path_sum PLUS ctx_path