Changeset be8bd88 for src/libcfa
- Timestamp:
- Mar 8, 2017, 3:22:50 PM (9 years ago)
- 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. - Location:
- src/libcfa
- Files:
-
- 6 edited
-
Makefile.am (modified) (4 diffs)
-
Makefile.in (modified) (4 diffs)
-
iostream (modified) (2 diffs)
-
iostream.c (modified) (3 diffs)
-
stdlib (modified) (1 diff)
-
stdlib.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/Makefile.am
r87c3bef rbe8bd88 18 18 AUTOMAKE_OPTIONS = subdir-objects 19 19 20 libdir = ${CFA_LIBDIR} 20 21 lib_LIBRARIES = 21 22 … … 67 68 ${libobjs} : ${abs_top_srcdir}/src/driver/cfa-cpp ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator 68 69 69 70 70 libcfa_a_SOURCES = ${libsrc} 71 71 libcfa_a_CFLAGS = -nodebug -O2 … … 75 75 stdhdr = ${shell echo stdhdr/*} 76 76 77 cfa_includedir = $( includedir)/cfa77 cfa_includedir = $(CFA_INCDIR) 78 78 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 79 79 … … 81 81 82 82 maintainer-clean-local: 83 -rm -rf ${ includedir}/*83 -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR} -
src/libcfa/Makefile.in
r87c3bef rbe8bd88 201 201 CFA_INCDIR = @CFA_INCDIR@ 202 202 CFA_LIBDIR = @CFA_LIBDIR@ 203 CFA_NAME = @CFA_NAME@ 203 204 CFA_PREFIX = @CFA_PREFIX@ 204 205 CFLAGS = -quiet -no-include-stdhdr -XCFA -t -B${abs_top_srcdir}/src/driver ${EXTRA_FLAGS} … … 281 282 infodir = @infodir@ 282 283 install_sh = @install_sh@ 283 libdir = @libdir@284 libdir = ${CFA_LIBDIR} 284 285 libexecdir = @libexecdir@ 285 286 localedir = @localedir@ … … 315 316 libcfa_d_a_CFLAGS = -debug -O0 316 317 stdhdr = ${shell echo stdhdr/*} 317 cfa_includedir = $( includedir)/cfa318 cfa_includedir = $(CFA_INCDIR) 318 319 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 319 320 CLEANFILES = libcfa-prelude.c … … 1160 1161 1161 1162 maintainer-clean-local: 1162 -rm -rf ${ includedir}/*1163 -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR} 1163 1164 1164 1165 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
src/libcfa/iostream
r87c3bef rbe8bd88 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 24 21:09:09201713 // Update Count : 9 412 // Last Modified On : Mon Mar 6 20:51:35 2017 13 // Update Count : 98 14 14 // 15 15 … … 68 68 forall( dtype ostype | ostream( ostype ) ) ostype * ?|?( ostype *, const void * ); 69 69 70 // tuples 71 forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } ) ostype * ?|?( ostype * os, T arg, Params rest ); 72 73 // manipulators 70 74 forall( dtype ostype | ostream( ostype ) ) ostype * ?|?( ostype *, ostype * (*)( ostype * ) ); 71 // manipulators72 75 forall( dtype ostype | ostream( ostype ) ) ostype * endl( ostype * ); 73 76 forall( dtype ostype | ostream( ostype ) ) ostype * sepOn( ostype * ); -
src/libcfa/iostream.c
r87c3bef rbe8bd88 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 24 21:09:59201713 // Update Count : 3 0712 // Last Modified On : Mon Mar 6 20:52:02 2017 13 // Update Count : 313 14 14 // 15 15 … … 155 155 enum { Open = 1, Close, OpenClose }; 156 156 static const unsigned char mask[256] = { 157 // opening delimiters 157 // opening delimiters, no space after 158 158 ['('] : Open, ['['] : Open, ['{'] : Open, 159 ['$'] : Open, [ (unsigned char)'£'] : Open, [(unsigned char)'¥'] : Open,159 ['$'] : Open, ['='] : Open, [(unsigned char)'£'] : Open, [(unsigned char)'¥'] : Open, 160 160 [(unsigned char)'¡'] : Open, [(unsigned char)'¿'] : Open, [(unsigned char)'«'] : Open, 161 // closing delimiters 161 // closing delimiters, no space before 162 162 [','] : Close, ['.'] : Close, [':'] : Close, [';'] : Close, ['!'] : Close, ['?'] : Close, 163 163 [')'] : Close, [']'] : Close, ['}'] : Close, 164 164 ['%'] : Close, [(unsigned char)'¢'] : Close, [(unsigned char)'»'] : Close, 165 // opening-closing delimiters 165 // opening-closing delimiters, no space before or after 166 166 ['\''] : OpenClose, ['`'] : OpenClose, ['"'] : OpenClose, 167 167 [' '] : OpenClose, ['\f'] : OpenClose, ['\n'] : OpenClose, ['\r'] : OpenClose, ['\t'] : OpenClose, ['\v'] : OpenClose, // isspace … … 198 198 199 199 200 // tuples 201 forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } ) 202 ostype * ?|?( ostype * os, T arg, Params rest ) { 203 os | arg | ", "; 204 os | rest; 205 } // ?|? 206 207 208 // manipulators 200 209 forall( dtype ostype | ostream( ostype ) ) 201 210 ostype * ?|?( ostype * os, ostype * (* manip)( ostype * ) ) { -
src/libcfa/stdlib
r87c3bef rbe8bd88 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 24 21:07:16201713 // Update Count : 10 112 // Last Modified On : Sat Mar 4 22:03:54 2017 13 // Update Count : 102 14 14 // 15 15 -
src/libcfa/stdlib.c
r87c3bef rbe8bd88 10 10 // Created On : Thu Jan 28 17:10:29 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 24 21:08:11201713 // Update Count : 17 112 // Last Modified On : Sat Mar 4 22:02:22 2017 13 // Update Count : 172 14 14 // 15 15
Note:
See TracChangeset
for help on using the changeset viewer.