/[bison]/bison/src/parse-gram.y
ViewVC logotype

Diff of /bison/src/parse-gram.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by akim, Mon Jun 17 07:04:49 2002 UTC revision 1.11 by akim, Mon Jun 17 07:05:12 2002 UTC
# Line 218  symbol_declaration: Line 218  symbol_declaration:
218        symbol_list_t *list;        symbol_list_t *list;
219        for (list = $3; list; list = list->next)        for (list = $3; list; list = list->next)
220          symbol_type_set (list->sym, list->location, $2);          symbol_type_set (list->sym, list->location, $2);
221        LIST_FREE (symbol_list_t, $3);        symbol_list_free ($3);
222      }      }
223  ;  ;
224    
# Line 232  precedence_declaration: Line 232  precedence_declaration:
232            symbol_type_set (list->sym, list->location, current_type);            symbol_type_set (list->sym, list->location, current_type);
233            symbol_precedence_set (list->sym, list->location, current_prec, $1);            symbol_precedence_set (list->sym, list->location, current_prec, $1);
234          }          }
235        LIST_FREE (symbol_list_t, $3);        symbol_list_free ($3);
236        current_type = NULL;        current_type = NULL;
237      }      }
238  ;  ;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26