Commit d424389c by Aaron Leung

Didn't I just commit this?

parent 745526a6
enum sss_type {
ATOM,
SEQUENCE,
CHOICE,
OPTION,
AT_LEAST_ZERO,
AT_LEAST_ONE,
AT_LEAST_N,
AT_MOST_N,
EXACTLY_N,
END
};
typedef struct {
sss_type tag;
size_t (*matcher)(char *);
} sss_component;
typedef struct {
size_t length;
sss_component *body;
} sss_pattern;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment