Changeset f53acdf8 for src/main.cc


Ignore:
Timestamp:
Jul 19, 2019, 2:16:01 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4eb43fa
Parents:
1f1c102 (diff), 8ac3b0e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into new-ast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r1f1c102 rf53acdf8  
    460460        const char * descript;
    461461} printopts[] = {
    462         { "altexpr", expraltp, true, "alternatives for expressions" },
    463         { "ascodegen", codegenp, true, "as codegen rather than AST" },
    464         { "ast", astp, true, "AST after parsing" },
    465         { "astdecl", validp, true, "AST after declaration validation pass" },
    466         { "asterr", errorp, true, "AST on error" },
    467         { "astexpr", exprp, true, "AST after expression analysis" },
    468         { "astgen", genericsp, true, "AST after instantiate generics" },
    469         { "box", bboxp, true, "before box step" },
    470         { "ctordtor", ctorinitp, true, "after ctor/dtor are replaced" },
    471         { "codegen", bcodegenp, true, "before code generation" },
     462        { "ascodegen", codegenp, true, "print AST as codegen rather than AST" },
     463        { "asterr", errorp, true, "print AST on error" },
    472464        { "declstats", declstatsp, true, "code property statistics" },
    473465        { "parse", yydebug, true, "yacc (parsing) debug information" },
    474466        { "pretty", prettycodegenp, true, "prettyprint for ascodegen flag" },
    475         { "resolver", bresolvep, true, "before resolver step" },
    476467        { "rproto", resolvprotop, true, "resolver-proto instance" },
    477         { "rsteps", resolvep, true, "resolver steps" },
    478         { "symevt", symtabp, true, "symbol table events" },
    479         { "tree", parsep, true, "parse tree" },
    480         { "tuple", tuplep, true, "after tuple expansion" },
     468        { "rsteps", resolvep, true, "print resolver steps" },
     469        { "tree", parsep, true, "print parse tree" },
     470        // code dumps
     471        { "ast", astp, true, "print AST after parsing" },
     472        { "symevt", symtabp, true, "print AST after symbol table events" },
     473        { "altexpr", expraltp, true, "print alternatives for expressions" },
     474        { "astdecl", validp, true, "print AST after declaration validation pass" },
     475        { "resolver", bresolvep, true, "print AST before resolver step" },
     476        { "astexpr", exprp, true, "print AST after expression analysis" },
     477        { "ctordtor", ctorinitp, true, "print AST after ctor/dtor are replaced" },
     478        { "tuple", tuplep, true, "print AST after tuple expansion" },
     479        { "astgen", genericsp, true, "print AST after instantiate generics" },
     480        { "box", bboxp, true, "print AST before box step" },
     481        { "codegen", bcodegenp, true, "print AST before code generation" },
    481482};
    482483enum { printoptsSize = sizeof( printopts ) / sizeof( printopts[0] ) };
Note: See TracChangeset for help on using the changeset viewer.