1
0
Fork 0
lesson-lisp/enums.h

23 lines
282 B
C
Raw Normal View History

2023-05-03 17:28:58 -04:00
#ifndef __ENUMS_H__
#define __ENUMS_H__
enum State {
STATE_INIT,
STATE_WHITESPACE,
STATE_OPEN,
STATE_CLOSE,
STATE_ID,
STATE_NUM,
};
enum Type {
TYPE_PAIR,
TYPE_ATOM,
TYPE_STRING,
TYPE_NUMBER,
};
const char *State_to_str(enum State state);
#endif