[ create a new paste ] login | about

Link: http://codepad.org/uJRbcfrq    [ raw code | output | fork ]

Lua, pasted on May 6:
1
2
3
4
5
6
7
8
9
10
11
typedef enum CELL_ENUM {
  CELL_LAMBDA, CELL_SFUNC, CELL_VFUNC, CELL_LIST, CELL_ATOM
} CELL_TYPE;


/* Cells are simply the type flag, the car, and the cdr.  */

typedef struct CELL_STRUCT {
  void *car, *cdr;

} CELL;


Output:
1
line 1: '=' expected near 'enum'


Create a new paste based on this one


Comments: