Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r41a7137 r13de47bc  
    3535#include "CodeGen/FixNames.h"
    3636#include "CodeGen/FixMain.h"
    37 #include "CodeTools/DeclStats.h"
    3837#include "ControlStruct/Mutate.h"
    3938#include "SymTab/Validate.h"
     
    6261        bboxp = false,
    6362        ctorinitp = false,
    64         declstatsp = false,
    6563        exprp = false,
    6664        expraltp = false,
     
    214212                } // if
    215213
    216                 if ( declstatsp ) {
    217                         CodeTools::printDeclStats( translationUnit );
    218                         deleteAll( translationUnit );
    219                         return 0;
    220                 }
    221 
    222214                // add the assignment statement after the initialization of a type parameter
    223215                OPTPRINT( "validate" )
     
    347339
    348340void parse_cmdline( int argc, char * argv[], const char *& filename ) {
    349         enum { Ast, Bbox, Bresolver, CtorInitFix, DeclStats, Expr, ExprAlt, Grammar, LibCFA, Nopreamble, Parse, Prototypes, Resolver, Symbol, Tree, TupleExpansion, Validate, };
     341        enum { Ast, Bbox, Bresolver, CtorInitFix, Expr, ExprAlt, Grammar, LibCFA, Nopreamble, Parse, Prototypes, Resolver, Symbol, Tree, TupleExpansion, Validate, };
    350342
    351343        static struct option long_opts[] = {
     
    354346                { "before-resolver", no_argument, 0, Bresolver },
    355347                { "ctorinitfix", no_argument, 0, CtorInitFix },
    356                 { "decl-stats", no_argument, 0, DeclStats },
    357348                { "expr", no_argument, 0, Expr },
    358349                { "expralt", no_argument, 0, ExprAlt },
     
    374365
    375366        int c;
    376         while ( (c = getopt_long( argc, argv, "abBcdefglmnpqrstTvyzD:F:", long_opts, &long_index )) != -1 ) {
     367        while ( (c = getopt_long( argc, argv, "abBcefglmnpqrstTvyzD:F:", long_opts, &long_index )) != -1 ) {
    377368                switch ( c ) {
    378369                  case Ast:
     
    390381                  case 'c':
    391382                        ctorinitp = true;
    392                         break;
    393                   case DeclStats:
    394                   case 'd':
    395                     declstatsp = true;
    396383                        break;
    397384                  case Expr:
Note: See TracChangeset for help on using the changeset viewer.