Branch: Tag:

2017-03-19

2017-03-19 15:33:24 by Arne Goedeke <el@laramies.com>

Compiler: fixed CAR/CDR confusion in automap

The previous fixed prevented automap code from crashing, however it did
not work correctly.

1288:    if( CAR(n)->token == F_AUTO_MAP_MARKER )    {    int depth = 0; -  node *lval = CDR(n); +  node *lval = CAR(n);    while( lval->token == F_AUTO_MAP_MARKER )    { -  lval = CDR(lval); +  lval = CAR(lval);    depth++;    }    do_docode(lval,0); /* note: not lvalue */