Changeset 375a068 for src/main.cc
- Timestamp:
- Dec 14, 2016, 3:31:01 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 74e5a3aa
- Parents:
- 37efaf56
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r37efaf56 r375a068 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Oct 30 10:11:38201613 // Update Count : 43 512 // Last Modified On : Wed Dec 14 14:35:54 2016 13 // Update Count : 436 14 14 // 15 15 … … 178 178 if ( ! nopreludep ) { // include gcc builtins 179 179 // -l is for initial build ONLY and builtins.cf is not in the lib directory so access it here. 180 FILE * builtins = fopen( libcfap | treep ? " builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" );180 FILE * builtins = fopen( libcfap | treep ? "../prelude/builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" ); 181 181 assertf( builtins, "cannot open builtins.cf\n" ); 182 182 parse( builtins, LinkageSpec::Compiler ); 183 183 184 184 // read the extra prelude in, if not generating the cfa library 185 FILE * extras = fopen( libcfap | treep ? " extras.cf" : CFA_LIBDIR "/extras.cf", "r" );185 FILE * extras = fopen( libcfap | treep ? "../prelude/extras.cf" : CFA_LIBDIR "/extras.cf", "r" ); 186 186 assertf( extras, "cannot open extras.cf\n" ); 187 187 parse( extras, LinkageSpec::C ); … … 189 189 if ( ! libcfap ) { 190 190 // read the prelude in, if not generating the cfa library 191 FILE * prelude = fopen( treep ? " prelude.cf" : CFA_LIBDIR "/prelude.cf", "r" );191 FILE * prelude = fopen( treep ? "../prelude/prelude.cf" : CFA_LIBDIR "/prelude.cf", "r" ); 192 192 assertf( prelude, "cannot open prelude.cf\n" ); 193 193 parse( prelude, LinkageSpec::Intrinsic );
Note:
See TracChangeset
for help on using the changeset viewer.