Branch: Tag:

2000-08-10

2000-08-10 23:29:57 by Per Hedbor <ph@opera.com>

foo.bar -> foo["bar"]

Rev: server/modules/scripting/piketag.pike:2.15

7:   // return "Hello world!\n";   // </pike>    - constant cvs_version = "$Id: piketag.pike,v 2.14 2000/08/10 22:45:52 mast Exp $"; + constant cvs_version = "$Id: piketag.pike,v 2.15 2000/08/10 23:29:57 per Exp $";   constant thread_safe=1;      
314:    case '.':    OCIP(); OCIPUP();    if( flat[i] == "." ) -  flat[i]->text = "->"; +  { +  flat[i]->text = "["; +  flat[i+1]->text = "\"" + flat[++i]->text + "\"]"; +  }    break;       case '/':