Branch: Tag:

2008-01-09

2008-01-09 16:10:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: lib/modules/Parser.pmod/LR.pmod/module.pmod:1.16

1:   /* -  * $Id: module.pmod,v 1.15 2007/05/03 09:09:41 grubba Exp $ +  * $Id: module.pmod,v 1.16 2008/01/09 16:10:29 grubba Exp $    *    * A BNF-grammar in Pike.    * Compiles to a LALR(1) state-machine.
228:    /* Priority table for terminal symbols */    static mapping(string : Priority) operator_priority = ([]);    -  static multiset(mixed) nullable = (< >); +  static multiset(int|string) nullable = (< >);      #if 0    static mapping(mixed : multiset(Rule)) derives = ([]);
704:    //! Rule to add.    void add_rule(Rule r)    { -  array(Rule) rules; +     int|string symbol;       /* DEBUG */
918:       static void shift_conflict(int empty)    { -  /* Ignored */ +  empty; /* Ignored */    }       static void handle_shift_conflicts()
950:       static void follow_conflict(int empty)    { +  empty; /* Ignored */    }       static void handle_follow_conflicts()
982:    static int go_through(Kernel state, int item_id,    Item current_item)    { -  int index; +     Item i, master;       i = state->item_id_to_item[item_id];