Changes in src/main.cc [b3c36f4:166793b]
- File:
-
- 1 edited
-
src/main.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rb3c36f4 r166793b 10 10 // Author : Richard C. Bilson 11 11 // Created On : Fri May 15 23:12:02 2015 12 // Last Modified By : Andrew Beach13 // Last Modified On : Wed May 10 14:45:00201714 // Update Count : 4 3712 // Last Modified By : Peter A. Buhr 13 // Last Modified On : Wed Jun 28 21:56:47 2017 14 // Update Count : 440 15 15 // 16 16 … … 25 25 using namespace std; 26 26 27 #include "Parser/lex.h" 28 #include "Parser/parser.h" 27 #include "Parser/parser.hh" 29 28 #include "Parser/TypedefTable.h" 30 29 #include "GenPoly/Lvalue.h" … … 186 185 if ( ! nopreludep ) { // include gcc builtins 187 186 // -l is for initial build ONLY and builtins.cf is not in the lib directory so access it here. 188 FILE * builtins = fopen( libcfap | treep ? "../prelude/builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" ); 189 assertf( builtins, "cannot open builtins.cf\n" ); 190 parse( builtins, LinkageSpec::Compiler ); 187 188 // Read to gcc builtins, if not generating the cfa library 189 FILE * gcc_builtins = fopen( libcfap | treep ? "../prelude/gcc-builtins.cf" : CFA_LIBDIR "/gcc-builtins.cf", "r" ); 190 assertf( gcc_builtins, "cannot open gcc-builtins.cf\n" ); 191 parse( gcc_builtins, LinkageSpec::Compiler ); 191 192 192 193 // read the extra prelude in, if not generating the cfa library … … 200 201 assertf( prelude, "cannot open prelude.cf\n" ); 201 202 parse( prelude, LinkageSpec::Intrinsic ); 203 204 // Read to cfa builtins, if not generating the cfa library 205 FILE * builtins = fopen( libcfap | treep ? "../prelude/builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" ); 206 assertf( builtins, "cannot open builtins.cf\n" ); 207 parse( builtins, LinkageSpec::Builtin ); 202 208 } // if 203 209 } // if
Note:
See TracChangeset
for help on using the changeset viewer.