Konstantin8105 / c4go

Transpiling C code to Go code
MIT License
365 stars 39 forks source link

#define as constant #469

Open Konstantin8105 opened 5 years ago

Konstantin8105 commented 5 years ago

Example of constant in Go:

#define T_EOF       0x0000      /* parser-specific */
#define T_SPACE     0x0001
#define T_TAB       0x0002