Branch: Tag:

2007-04-05

2007-04-05 08:35:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed warning from new type checker in strict mode.

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

1:   /* -  * $Id: module.pmod,v 1.12 2005/04/10 18:06:27 nilsson Exp $ +  * $Id: module.pmod,v 1.13 2007/04/05 08:35:18 grubba Exp $    *    * A BNF-grammar in Pike.    * Compiles to a LALR(1) state-machine.
449:    items = symbol_items[symbol];    if (items) {    array(int) item_ids = [array(int)]map(sort(indices(items)->item_id), -  `+, 1); +  [function(int,int...:int)]`+, 1);    string kernel_hash = sprintf("%@4c", item_ids);       Kernel new_state = known_states[kernel_hash];