diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-07-23 23:07:17 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2017-07-24 21:19:10 -0500 |
commit | 4459545e6528c8f072de79b799b9ae9b85d01dfb (patch) | |
tree | 03e144fabc0e830662e40566a2eb7f98eafdf3a8 /ast.h | |
parent | c8a0b7157d544f2359f2373160dcc69cdef8f4de (diff) |
Output regex instead of debugging format
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |