Changeset be8bd88 for src/libcfa


Ignore:
Timestamp:
Mar 8, 2017, 3:22:50 PM (9 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
031a2c95, 0e7ea335
Parents:
87c3bef (diff), 6363ad1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src/libcfa
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/Makefile.am

    r87c3bef rbe8bd88  
    1818AUTOMAKE_OPTIONS = subdir-objects
    1919
     20libdir = ${CFA_LIBDIR}
    2021lib_LIBRARIES =
    2122
     
    6768${libobjs} : ${abs_top_srcdir}/src/driver/cfa-cpp ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator
    6869
    69 
    7070libcfa_a_SOURCES = ${libsrc}
    7171libcfa_a_CFLAGS = -nodebug -O2
     
    7575stdhdr = ${shell echo stdhdr/*}
    7676
    77 cfa_includedir = $(includedir)/cfa
     77cfa_includedir = $(CFA_INCDIR)
    7878nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h
    7979
     
    8181
    8282maintainer-clean-local:
    83         -rm -rf ${includedir}/*
     83        -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR}
  • src/libcfa/Makefile.in

    r87c3bef rbe8bd88  
    201201CFA_INCDIR = @CFA_INCDIR@
    202202CFA_LIBDIR = @CFA_LIBDIR@
     203CFA_NAME = @CFA_NAME@
    203204CFA_PREFIX = @CFA_PREFIX@
    204205CFLAGS = -quiet -no-include-stdhdr -XCFA -t -B${abs_top_srcdir}/src/driver ${EXTRA_FLAGS}
     
    281282infodir = @infodir@
    282283install_sh = @install_sh@
    283 libdir = @libdir@
     284libdir = ${CFA_LIBDIR}
    284285libexecdir = @libexecdir@
    285286localedir = @localedir@
     
    315316libcfa_d_a_CFLAGS = -debug -O0
    316317stdhdr = ${shell echo stdhdr/*}
    317 cfa_includedir = $(includedir)/cfa
     318cfa_includedir = $(CFA_INCDIR)
    318319nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h
    319320CLEANFILES = libcfa-prelude.c
     
    11601161
    11611162maintainer-clean-local:
    1162         -rm -rf ${includedir}/*
     1163        -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR}
    11631164
    11641165# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • src/libcfa/iostream

    r87c3bef rbe8bd88  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Feb 24 21:09:09 2017
    13 // Update Count     : 94
     12// Last Modified On : Mon Mar  6 20:51:35 2017
     13// Update Count     : 98
    1414//
    1515
     
    6868forall( dtype ostype | ostream( ostype ) ) ostype * ?|?( ostype *, const void * );
    6969
     70// tuples
     71forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } ) ostype * ?|?( ostype * os, T arg, Params rest );
     72
     73// manipulators
    7074forall( dtype ostype | ostream( ostype ) ) ostype * ?|?( ostype *, ostype * (*)( ostype * ) );
    71 // manipulators
    7275forall( dtype ostype | ostream( ostype ) ) ostype * endl( ostype * );
    7376forall( dtype ostype | ostream( ostype ) ) ostype * sepOn( ostype * );
  • src/libcfa/iostream.c

    r87c3bef rbe8bd88  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Feb 24 21:09:59 2017
    13 // Update Count     : 307
     12// Last Modified On : Mon Mar  6 20:52:02 2017
     13// Update Count     : 313
    1414//
    1515
     
    155155        enum { Open = 1, Close, OpenClose };
    156156        static const unsigned char mask[256] = {
    157                 // opening delimiters
     157                // opening delimiters, no space after
    158158                ['('] : Open, ['['] : Open, ['{'] : Open,
    159                 ['$'] : Open, [(unsigned char)'£'] : Open, [(unsigned char)'¥'] : Open,
     159                ['$'] : Open, ['='] : Open, [(unsigned char)'£'] : Open, [(unsigned char)'¥'] : Open,
    160160                [(unsigned char)'¡'] : Open, [(unsigned char)'¿'] : Open, [(unsigned char)'«'] : Open,
    161                 // closing delimiters
     161                // closing delimiters, no space before
    162162                [','] : Close, ['.'] : Close, [':'] : Close, [';'] : Close, ['!'] : Close, ['?'] : Close,
    163163                [')'] : Close, [']'] : Close, ['}'] : Close,
    164164                ['%'] : Close, [(unsigned char)'¢'] : Close, [(unsigned char)'»'] : Close,
    165                 // opening-closing delimiters
     165                // opening-closing delimiters, no space before or after
    166166                ['\''] : OpenClose, ['`'] : OpenClose, ['"'] : OpenClose,
    167167                [' '] : OpenClose, ['\f'] : OpenClose, ['\n'] : OpenClose, ['\r'] : OpenClose, ['\t'] : OpenClose, ['\v'] : OpenClose, // isspace
     
    198198
    199199
     200// tuples
     201forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } )
     202ostype * ?|?( ostype * os, T arg, Params rest ) {
     203        os | arg | ", ";
     204        os | rest;
     205} // ?|?
     206
     207
     208// manipulators
    200209forall( dtype ostype | ostream( ostype ) )
    201210ostype * ?|?( ostype * os, ostype * (* manip)( ostype * ) ) {
  • src/libcfa/stdlib

    r87c3bef rbe8bd88  
    1010// Created On       : Thu Jan 28 17:12:35 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Feb 24 21:07:16 2017
    13 // Update Count     : 101
     12// Last Modified On : Sat Mar  4 22:03:54 2017
     13// Update Count     : 102
    1414//
    1515
  • src/libcfa/stdlib.c

    r87c3bef rbe8bd88  
    1010// Created On       : Thu Jan 28 17:10:29 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Feb 24 21:08:11 2017
    13 // Update Count     : 171
     12// Last Modified On : Sat Mar  4 22:02:22 2017
     13// Update Count     : 172
    1414//
    1515
Note: See TracChangeset for help on using the changeset viewer.