Changes in src/main.cc [159c62e:dd51906]
- File:
-
- 1 edited
-
src/main.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r159c62e rdd51906 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 5 15:23:11201613 // Update Count : 20 912 // Last Modified On : Sun Jun 5 15:57:30 2016 13 // Update Count : 205 14 14 // 15 15 … … 214 214 Parser::get_parser().set_debug( grammarp ); 215 215 216 // read in the builtins , extras,and the prelude216 // read in the builtins 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 224 225 parse( builtins, LinkageSpec::Compiler ); 225 226 // read the extra prelude in, if not generating the cfa library227 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 } // if232 parse( extras, LinkageSpec::C );233 226 234 227 if ( ! libcfap ) {
Note:
See TracChangeset
for help on using the changeset viewer.