Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

lval* v = malloc(sizeof(lval)); v->type = LVAL_QEXPR;

For goodness sake, when teaching C, make sure to check alloc's return values.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: