Changeset 1c80f20 for src/main.cc
- Timestamp:
- Feb 16, 2023, 3:10:02 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- f5f2768
- Parents:
- abcb393 (diff), 4b60b28 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rabcb393 r1c80f20 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Oct 5 12:06:00 202213 // Update Count : 6 7912 // Last Modified On : Thr Feb 16 10:08:00 2023 13 // Update Count : 680 14 14 // 15 15 … … 272 272 FILE * gcc_builtins = fopen( (PreludeDirector + "/gcc-builtins.cf").c_str(), "r" ); 273 273 assertf( gcc_builtins, "cannot open gcc-builtins.cf\n" ); 274 parse( gcc_builtins, LinkageSpec::Compiler );274 parse( gcc_builtins, ast::Linkage::Compiler ); 275 275 276 276 // read the extra prelude in, if not generating the cfa library 277 277 FILE * extras = fopen( (PreludeDirector + "/extras.cf").c_str(), "r" ); 278 278 assertf( extras, "cannot open extras.cf\n" ); 279 parse( extras, LinkageSpec::BuiltinC );279 parse( extras, ast::Linkage::BuiltinC ); 280 280 281 281 if ( ! libcfap ) { … … 283 283 FILE * prelude = fopen( (PreludeDirector + "/prelude.cfa").c_str(), "r" ); 284 284 assertf( prelude, "cannot open prelude.cfa\n" ); 285 parse( prelude, LinkageSpec::Intrinsic );285 parse( prelude, ast::Linkage::Intrinsic ); 286 286 287 287 // Read to cfa builtins, if not generating the cfa library 288 288 FILE * builtins = fopen( (PreludeDirector + "/builtins.cf").c_str(), "r" ); 289 289 assertf( builtins, "cannot open builtins.cf\n" ); 290 parse( builtins, LinkageSpec::BuiltinCFA );291 } // if 292 } // if 293 294 parse( input, libcfap ? LinkageSpec::Intrinsic : LinkageSpec::Cforall, yydebug );290 parse( builtins, ast::Linkage::BuiltinCFA ); 291 } // if 292 } // if 293 294 parse( input, libcfap ? ast::Linkage::Intrinsic : ast::Linkage::Cforall, yydebug ); 295 295 296 296 transUnit = buildUnit(); … … 340 340 PASS( "Generate Autogen Routines", Validate::autogenerateRoutines( transUnit ) ); 341 341 342 PASS( "Implement Actors", Concurrency::implementActors( transUnit ) ); 343 342 PASS( "Implement Actors", Concurrency::implementActors( transUnit ) ); 344 343 PASS( "Implement Mutex", Concurrency::implementMutex( transUnit ) ); 345 344 PASS( "Implement Thread Start", Concurrency::implementThreadStarter( transUnit ) );
Note:
See TracChangeset
for help on using the changeset viewer.