Changes in src/main.cc [dd51906:159c62e]
- File:
-
- 1 edited
-
src/main.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rdd51906 r159c62e 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jun 5 15:57:30201613 // Update Count : 20 512 // Last Modified On : Tue Jul 5 15:23:11 2016 13 // Update Count : 209 14 14 // 15 15 … … 214 214 Parser::get_parser().set_debug( grammarp ); 215 215 216 // read in the builtins and the prelude216 // read in the builtins, extras, and the prelude 217 217 if ( ! nopreludep ) { // include gcc builtins 218 218 // -l is for initial build ONLY and builtins.cf is not in the lib directory so access it here. … … 222 222 exit( EXIT_FAILURE ); 223 223 } // if 224 225 224 parse( builtins, LinkageSpec::Compiler ); 225 226 // read the extra prelude in, if not generating the cfa library 227 FILE * extras = fopen( libcfap | treep ? "extras.cf" : CFA_LIBDIR "/extras.cf", "r" ); 228 if ( extras == NULL ) { 229 std::cerr << "Error: can't open extras.cf" << std::endl; 230 exit( EXIT_FAILURE ); 231 } // if 232 parse( extras, LinkageSpec::C ); 226 233 227 234 if ( ! libcfap ) {
Note:
See TracChangeset
for help on using the changeset viewer.