pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:751:    case 2:    res=mkefuncallnode("column",mknode(F_ARG_LIST,copy_node(CAR(a)),b));    free_node(a);    return res;       case 3:    return mkefuncallnode("`[]",mknode(F_ARG_LIST,a,b));    }    break;    +  case F_ASSIGN: +  case F_MULTI_ASSIGN: +  case F_ASSIGN_SELF: +  if ((!a || a->token == F_CONSTANT) && (Pike_compiler->compiler_pass == 2)) { +  yyerror("Illegal lvalue."); +  } +  break;   #ifdef PIKE_DEBUG    case F_CAST:    case F_SOFT_CAST:    Pike_fatal("Attempt to create a cast-node with mknode()!\n");    case F_CONSTANT:    Pike_fatal("Attempt to create an F_CONSTANT-node with mknode()!\n");    case F_LOCAL:    Pike_fatal("Attempt to create an F_LOCAL-node with mknode()!\n");    case F_TRAMPOLINE:    Pike_fatal("Attempt to create an F_TRAMPOLINE-node with mknode()!\n");