diff options
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -28,7 +28,7 @@ struct atom { struct repeat counts; struct atom *child; } repeat; - const struct atom *children[2]; + struct atom *children[2]; const char *literal; } u; }; @@ -38,6 +38,8 @@ void dump_atom(const struct atom *a); void print_regex(const struct atom *a); +void simplify(struct atom *a); + extern struct atom *ast; #endif |