Changeset 643a2e1 for libcfa


Ignore:
Timestamp:
Jan 25, 2015, 10:43:12 PM (10 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

deal with newer built

Location:
libcfa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/Makefile.in

    rad8e062 r643a2e1  
    99        ${INSTALL} -d @CFA_LIBDIR@
    1010        ${INSTALL} prelude.cf @CFA_LIBDIR@
    11         ${INSTALL} builtins.cf @CFA_LIBDIR@
    1211        ${INSTALL} libcfa.a @CFA_LIBDIR@
    1312
     
    1817builtins.cf: builtins.c
    1918        @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@
    2020
    2121libcfa-prelude.c: ../translator/cfa-cpp prelude.cf builtins.cf
  • libcfa/prototypes.awk

    rad8e062 r643a2e1  
    6767        } # if
    6868
     69        printf( "#define %s(NAME) FUNC_SIMPLE(", prototype )
     70
    6971        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
    7474        } # if
    75 
    76         printf( "#define %s(NAME) FUNC_SIMPLE(", prototype )
    7775
    7876        # generate function return type as macro
Note: See TracChangeset for help on using the changeset viewer.