1 /* neatcc tokenizer interface */
2 #define TOK2(a) ((a)[0] << 16 | (a)[1] << 8)
3 #define TOK3(a) ((a)[0] << 16 | (a)[1] << 8 | (a)[2])
38 void tok_init(char *path
);
43 void tok_str(char **buf
, int *len
);
45 void tok_jump(long addr
);
47 int cpp_init(char *path
);
48 void cpp_addpath(char *s
);
49 void cpp_define(char *name
, char *def
);
50 char *cpp_loc(long addr
);
51 int cpp_read(char **buf
, int *len
);
53 void die(char *msg
, ...);
54 void err(char *fmt
, ...);