Changeset 00da199 for src/main.cc


Ignore:
Timestamp:
Jul 20, 2021, 4:29:28 AM (3 years ago)
Author:
Henry Xue <y58xue@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
ba8547e
Parents:
0c730d9
Message:

Add a switch to print AST after exdecl pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r0c730d9 r00da199  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Henry Xue
    12 // Last Modified On : Tue Jul 20 04:10:50 2021
    13 // Update Count     : 657
     12// Last Modified On : Tue Jul 20 04:27:35 2021
     13// Update Count     : 658
    1414//
    1515
     
    308308
    309309                PASS( "Translate Exception Declarations", ControlStruct::translateExcept( translationUnit ) );
     310                if ( exdeclp ) {
     311                        dump( translationUnit );
     312                        return EXIT_SUCCESS;
     313                } // if
    310314
    311315                // add the assignment statement after the initialization of a type parameter
     
    552556        // code dumps
    553557        { "ast", astp, true, "print AST after parsing" },
     558        { "exdecl", exdeclp, true, "print AST after translating exception decls" },
    554559        { "symevt", symtabp, true, "print AST after symbol table events" },
    555560        { "altexpr", expraltp, true, "print alternatives for expressions" },
Note: See TracChangeset for help on using the changeset viewer.