Changes in src/main.cc [53d3ab4b:f0994a1]
- File:
-
- 1 edited
-
src/main.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r53d3ab4b rf0994a1 80 80 exprp = false, 81 81 expraltp = false, 82 genericsp = false,83 82 libcfap = false, 84 83 nopreludep = false, … … 321 320 OPTPRINT("instantiateGenerics") 322 321 GenPoly::instantiateGeneric( translationUnit ); 323 if ( genericsp ) {324 dump( translationUnit );325 return 0;326 }327 322 OPTPRINT( "convertLvalue" ) 328 323 GenPoly::convertLvalue( translationUnit ); 329 324 330 331 325 if ( bboxp ) { 332 326 dump( translationUnit ); … … 346 340 347 341 CodeTools::fillLocations( translationUnit ); 348 OPTPRINT( "codegen" )349 342 CodeGen::generate( translationUnit, *output, ! noprotop, prettycodegenp, true, linemarks ); 350 343 351 344 CodeGen::FixMain::fix( *output, treep ? "../prelude/bootloader.c" : CFA_LIBDIR "/bootloader.c" ); 352 OPTPRINT( "end" )353 345 354 346 if ( output != &cout ) { … … 415 407 416 408 int c; 417 while ( (c = getopt_long( argc, argv, "abBcCdefg GlLmnNpqrstTvyzZD:F:", long_opts, &long_index )) != -1 ) {409 while ( (c = getopt_long( argc, argv, "abBcCdefglLmnNpqrstTvyzZD:F:", long_opts, &long_index )) != -1 ) { 418 410 switch ( c ) { 419 411 case Ast: … … 450 442 case 'g': // bison debugging info (grammar rules) 451 443 yydebug = true; 452 break;453 case 'G': // dump AST after instantiate generics454 genericsp = true;455 444 break; 456 445 case LibCFA:
Note:
See TracChangeset
for help on using the changeset viewer.