23 lines
282 B
C
23 lines
282 B
C
|
#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
|