- // FIXME we should push the surf link object but it doesn't work because of model rulebased
- // Rule-based routing doesnt' exist anymore, does it?
- parsed_link_list.push_back(link_id);
+ surf_parse_assert(link!=nullptr,"No such link: '%s'%s", A_surfxml_link___ctn_id,
+ A_surfxml_link___ctn_direction==A_surfxml_link___ctn_direction_UP?" (upward)":
+ ( A_surfxml_link___ctn_direction==A_surfxml_link___ctn_direction_DOWN?" (downward)":
+ ""));
+ parsed_link_list.push_back(link);