Joel Grunbaum
2021-07-21 af8179dab78fe661ccf3e212caedcfa8d9d768ba
Use parent gen class over implementation class
1 files modified
2 ■■■ changed files
main.cpp 2 ●●● patch | view | raw | blame | history
main.cpp
@@ -8,7 +8,7 @@
{
    Document *d;
    parser *p = new tester();
    dot_gen *g = new dot_gen();
    gen *g = new dot_gen();
    g->set_file("temp.dot");
    d = p->parse();
    d->visit(g);