Changes in src/main.cc [fa2de95:35b1bf4]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rfa2de95 r35b1bf4 76 76 validp = false, 77 77 errorp = false, 78 codegenp = false; 78 codegenp = false, 79 prettycodegenp = false; 79 80 80 81 static void parse_cmdline( int argc, char *argv[], const char *& filename ); … … 309 310 } // if 310 311 311 CodeGen::generate( translationUnit, *output, ! noprotop );312 CodeGen::generate( translationUnit, *output, ! noprotop, prettycodegenp ); 312 313 313 314 CodeGen::FixMain::fix( *output, treep ? "../prelude/bootloader.c" : CFA_LIBDIR "/bootloader.c" ); … … 374 375 375 376 int c; 376 while ( (c = getopt_long( argc, argv, "abBcdefglmnpqrstTvyz D:F:", long_opts, &long_index )) != -1 ) {377 while ( (c = getopt_long( argc, argv, "abBcdefglmnpqrstTvyzZD:F:", long_opts, &long_index )) != -1 ) { 377 378 switch ( c ) { 378 379 case Ast: … … 450 451 case 'z': 451 452 codegenp = true; 453 case 'Z': 454 prettycodegenp = true; 452 455 break; 453 456 case 'D': // ignore -Dxxx
Note: See TracChangeset
for help on using the changeset viewer.