Changeset 643a2e1
- Timestamp:
- Jan 25, 2015, 10:43:12 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- ad17ba6a
- Parents:
- ad8e062
- Location:
- libcfa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/Makefile.in
rad8e062 r643a2e1 9 9 ${INSTALL} -d @CFA_LIBDIR@ 10 10 ${INSTALL} prelude.cf @CFA_LIBDIR@ 11 ${INSTALL} builtins.cf @CFA_LIBDIR@12 11 ${INSTALL} libcfa.a @CFA_LIBDIR@ 13 12 … … 18 17 builtins.cf: builtins.c 19 18 @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ 19 ${INSTALL} builtins.cf @CFA_LIBDIR@ 20 20 21 21 libcfa-prelude.c: ../translator/cfa-cpp prelude.cf builtins.cf -
libcfa/prototypes.awk
rad8e062 r643a2e1 67 67 } # if 68 68 69 printf( "#define %s(NAME) FUNC_SIMPLE(", prototype ) 70 69 71 if ( sub( "BT_FN_", "", prototype ) == 0 ) { 70 if ( sub( "BT_", "", prototype ) == 0 ) { 71 printf( "\n********** BAD MACRO NAME \"%s\" **********\n", prototype ) 72 exit 0 73 } #if 72 printf( "\n********** BAD MACRO NAME \"%s\" **********\n", prototype ) 73 exit 0 74 74 } # if 75 76 printf( "#define %s(NAME) FUNC_SIMPLE(", prototype )77 75 78 76 # generate function return type as macro
Note: See TracChangeset
for help on using the changeset viewer.