Skip to content

Commit

Permalink
[cpp] remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
harrand committed May 15, 2024
1 parent c044f7e commit 2c33923
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cpp/src/semal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -714,12 +714,10 @@ namespace semal
[&](ast::binary_operator op)
{
ret = binary_operator(d, op);
//d.fatal_error("dispatch error");
},
[&](ast::unary_operator op)
{
ret = unary_operator(d, op);
//d.fatal_error("dispatch error");
},
[&](ast::block blk)
{
Expand Down Expand Up @@ -747,10 +745,6 @@ namespace semal
ret = if_statement(d, ifst);
},
/*
[&](ast::else_statement elst)
{
ret = else_statement(d, elst);
},
[&](ast::for_statement forst)
{
ret = for_statement(d, forst);
Expand Down

0 comments on commit 2c33923

Please sign in to comment.