summaryrefslogtreecommitdiff
path: root/pattern2regex.c
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-07-23 23:07:17 -0500
committerBobby Bingham <koorogi@koorogi.info>2017-07-24 21:19:10 -0500
commit4459545e6528c8f072de79b799b9ae9b85d01dfb (patch)
tree03e144fabc0e830662e40566a2eb7f98eafdf3a8 /pattern2regex.c
parentc8a0b7157d544f2359f2373160dcc69cdef8f4de (diff)
Output regex instead of debugging format
Diffstat (limited to 'pattern2regex.c')
-rw-r--r--pattern2regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pattern2regex.c b/pattern2regex.c
index 669206a..646b007 100644
--- a/pattern2regex.c
+++ b/pattern2regex.c
@@ -12,7 +12,7 @@ int main(int argc, char **argv)
yyin = stdin;
}
- if (!yyparse()) dump_atom(ast);
+ if (!yyparse()) print_regex(ast);
fclose(yyin);
return 0;