From 2c33923fafd5d5b50abad135878bc1e597b4378f Mon Sep 17 00:00:00 2001 From: Harrand Date: Thu, 16 May 2024 00:36:46 +0100 Subject: [PATCH] [cpp] remove dead code --- cpp/src/semal.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cpp/src/semal.cpp b/cpp/src/semal.cpp index dd38ce0..3607ea8 100644 --- a/cpp/src/semal.cpp +++ b/cpp/src/semal.cpp @@ -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) { @@ -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);