2 * insert v into list u, at the beginning */
| 118 | * insert v into list u, at the beginning |
| 119 | */ |
| 120 | BOOLEAN lInsert(leftv res, leftv u, leftv v) |
| 121 | { |
| 122 | lists ul=(lists)u->CopyD(); |
| 123 | res->data=(char *)lInsert0(ul,v,0); |
| 124 | if (res->data==NULL) |
| 125 | { |
| 126 | Werror("cannot insert type `%s`",Tok2Cmdname(v->Typ())); |
| 127 | return TRUE; |
| 128 | } |
| 129 | return FALSE; |
| 130 | } |
| 131 | |
| 132 | /*2 |
| 133 | * insert v into list u at pos w |
nothing calls this directly
no test coverage detected