summaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 4694c33..f8183f9 100644
--- a/ast.h
+++ b/ast.h
@@ -17,6 +17,8 @@ enum {
ATOM_PUNCTUATION,
ATOM_EVERYTHING,
ATOM_LITERAL,
+
+ ATOM_MAX
};
struct atom {
@@ -34,6 +36,8 @@ struct atom {
struct atom *mkatom(const struct atom *src);
void dump_atom(const struct atom *a);
+void print_regex(const struct atom *a);
+
extern struct atom *ast;
#endif