Changes in / [67d2b97:da7454c]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r67d2b97 rda7454c  
    454454        const char * descript;
    455455} printopts[] = {
    456         { "altexpr", expraltp, true, "alternatives for expressions" },
    457         { "ascodegen", codegenp, true, "as codegen rather than AST" },
    458         { "ast", astp, true, "AST after parsing" },
    459         { "astdecl", validp, true, "AST after declaration validation pass" },
    460         { "asterr", errorp, true, "AST on error" },
    461         { "astexpr", exprp, true, "AST after expression analysis" },
    462         { "astgen", genericsp, true, "AST after instantiate generics" },
    463         { "box", bboxp, true, "before box step" },
    464         { "ctordtor", ctorinitp, true, "after ctor/dtor are replaced" },
    465         { "codegen", bcodegenp, true, "before code generation" },
     456        { "ascodegen", codegenp, true, "print AST as codegen rather than AST" },
     457        { "asterr", errorp, true, "print AST on error" },
    466458        { "declstats", declstatsp, true, "code property statistics" },
    467459        { "parse", yydebug, true, "yacc (parsing) debug information" },
    468460        { "pretty", prettycodegenp, true, "prettyprint for ascodegen flag" },
    469         { "resolver", bresolvep, true, "before resolver step" },
    470461        { "rproto", resolvprotop, true, "resolver-proto instance" },
    471         { "rsteps", resolvep, true, "resolver steps" },
    472         { "symevt", symtabp, true, "symbol table events" },
    473         { "tree", parsep, true, "parse tree" },
    474         { "tuple", tuplep, true, "after tuple expansion" },
     462        { "rsteps", resolvep, true, "print resolver steps" },
     463        { "tree", parsep, true, "print parse tree" },
     464        // code dumps
     465        { "ast", astp, true, "print AST after parsing" },
     466        { "symevt", symtabp, true, "print AST after symbol table events" },
     467        { "altexpr", expraltp, true, "print alternatives for expressions" },
     468        { "astdecl", validp, true, "print AST after declaration validation pass" },
     469        { "resolver", bresolvep, true, "print AST before resolver step" },
     470        { "astexpr", exprp, true, "print AST after expression analysis" },
     471        { "ctordtor", ctorinitp, true, "print AST after ctor/dtor are replaced" },
     472        { "tuple", tuplep, true, "print AST after tuple expansion" },
     473        { "astgen", genericsp, true, "print AST after instantiate generics" },
     474        { "box", bboxp, true, "print AST before box step" },
     475        { "codegen", bcodegenp, true, "print AST before code generation" },
    475476};
    476477enum { printoptsSize = sizeof( printopts ) / sizeof( printopts[0] ) };
Note: See TracChangeset for help on using the changeset viewer.