Changes in / [fe1b6a4:1ca52db]


Ignore:
Files:
1 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    rfe1b6a4 r1ca52db  
    1111%% Created On       : Wed Apr  6 14:53:29 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Thu Mar 23 09:53:57 2017
    14 %% Update Count     : 1399
     13%% Last Modified On : Mon Feb 20 12:35:48 2017
     14%% Update Count     : 1377
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    9191}% title
    9292
    93 \author{
    94 \huge \CFA Team \medskip \\
    95 \Large Peter A. Buhr, Richard Bilson, Thierry Delisle, \smallskip \\
    96 \Large Glen Ditchfield, Rodolfo G. Esteves, Aaron Moss, Rob Schluntz
     93\author{\huge
     94Peter A. Buhr and ...
    9795}% author
    9896
     
    46594657which is a local mechanism to disable insertion of the separator character.
    46604658\item
    4661 A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{=$£¥¡¿«@
     4659A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{$£¥¡¿«@
    46624660%$
    46634661\begin{lstlisting}[mathescape=off]
    4664 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x =" | 4 | "x $" | 5 | "x £" | 6 | "x ¥" | 7
    4665          | "x ¡" | 8 | "x ¿" | 9 | "x «" | 10 | endl;
     4662sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x $" | 4 | "x £" | 5 | "x ¥" | 6 | "x ¡" | 7
     4663         | "x ¿" | 8 | "x «" | 9 | endl;
    46664664\end{lstlisting}
    46674665%$
    46684666\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
    4669 x (1 x [2 x {3 x =4 x $5 x £6 x ¥7 x ¡8 x ¿9 x «10
     4667x (1 x [2 x {3 x $4 x £5 x ¥6 x ¡7 x ¿8 x «9
    46704668\end{lstlisting}
    46714669%$
    46724670\item
    4673 {\lstset{deletedelim=**[is][]{¢}{¢}}
    46744671A seperator does not appear after a C string ending with the (extended) \Index{ASCII}\index{ASCII!extended} characters: ©,.:;!?)]}%¢»©
    46754672\begin{lstlisting}[belowskip=0pt]
    4676 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | "% x"
    4677          | 8 | "¢ x" | 9 | "» x" | 10 | ") x" | 11 | "] x" | 12 | "} x" | endl;
     4673sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7
     4674         | ") x" | 8 | "] x" | 9 | "} x" | 10 | "% x" | 11 | "¢ x" | 12 | "» x" | endl;
    46784675\end{lstlisting}
    46794676\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
    4680 1, x 2. x 3: x 4; x 5! x 6? x 7% x 8¢ x 9» x 10) x 11] x 12} x
    4681 \end{lstlisting}}%
     46771, x 2. x 3: x 4; x 5! x 6? x 7) x 8] x 9} x 10% x 11¢ 12»
     4678\end{lstlisting}
    46824679\item
    46834680A seperator does not appear before or after a C string begining/ending with the \Index{ASCII} quote or whitespace characters: \lstinline[showspaces=true]@`'" \t\v\f\r\n@
     
    46974694\end{lstlisting}
    46984695\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4699 sout | 1 | sepOff | 2 | 3 | endl;                       §\C{// turn off implicit separator locally}§
     4696sout | 1 | sepOff | 2 | 3 | endl;                       §\C{// turn off implicit separator temporarily}§
    47004697\end{lstlisting}
    47014698\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47034700\end{lstlisting}
    47044701\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4705 sout | sepDisable | 1 | 2 | 3 | endl;           §\C{// turn off implicit separation globally
     4702sout | sepDisable | 1 | 2 | 3 | endl;           §\C{// turn off implicit separation, affects all subsequent prints
    47064703\end{lstlisting}
    47074704\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47094706\end{lstlisting}
    47104707\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4711 sout | 1 | sepOn | 2 | 3 | endl;                        §\C{// turn on implicit separator locally}§
     4708sout | 1 | sepOn | 2 | 3 | endl;                        §\C{// turn on implicit separator temporarily}§
    47124709\end{lstlisting}
    47134710\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47154712\end{lstlisting}
    47164713\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4717 sout | sepEnable | 1 | 2 | 3 | endl;            §\C{// turn on implicit separation globally
     4714sout | sepEnable | 1 | 2 | 3 | endl;            §\C{// turn on implicit separation, affects all subsequent prints
    47184715\end{lstlisting}
    47194716\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47334730
    47344731int main() {
    4735         int x = 0, y = 1, z = 2;
    4736         sout | x * 3 | y + 1 | z << 2 | x == y | (x | y) | (x || y) | (x > z ? 1 : 2) | endl | endl;
     4732        int x = 3, y = 5, z = 7;
     4733        sout | x * 3 | y + 1 | z << 2 | x == y | (x | y) | (x || y) | (x > z ? 1 : 2) | endl;
    47374734        sout | 1 | 2 | 3 | endl;
    47384735        sout | '1' | '2' | '3' | endl;
    47394736        sout | 1 | "" | 2 | "" | 3 | endl;
    4740         sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x =" | 4 | "x $" | 5 | "x £" | 6 | "x ¥" | 7
    4741                 | "x ¡" | 8 | "x ¿" | 9 | "x «" | 10 | endl;
    4742         sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | "% x"
    4743                 | 8 | "¢ x" | 9 | "» x" | 10 | ") x" | 11 | "] x" | 12 | "} x" | endl;
     4737        sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x $" | 4 | "x £" | 5 | "x ¥" | 6 | "x ¡" | 7 | "x ¿" | 8 | "x «" | 9 | endl;
     4738        sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | ") x" | 8 | "] x" | 9 | "} x"
     4739                 | 10 | "% x" | 11 | "¢ x" | 12 | "» x" | endl;
    47444740        sout | "x`" | 1 | "`x'" | 2 | "'x\"" | 3 | "\"x" | "x " | 4 | " x" | "x\t" | 1 | "\tx" | endl;
    47454741        sout | sepOn | 1 | 2 | 3 | sepOn | endl;        // separator at start of line
  • src/CodeGen/CodeGenerator.cc

    rfe1b6a4 r1ca52db  
    147147
    148148        void CodeGenerator::visit( ObjectDecl * objectDecl ) {
    149                 if (objectDecl->get_name().empty()) {
    150                         static UniqueName name = { "__anonymous_object" };
    151                         objectDecl->set_name( name.newName() );
    152                 }
    153 
    154149                extension( objectDecl );
    155150                genAttributes( objectDecl->get_attributes() );
  • src/libcfa/Makefile.am

    rfe1b6a4 r1ca52db  
    3535         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -D__CFA_DEBUG__ -O0 -c -o $@ $<
    3636
    37 EXTRA_FLAGS = -g -Wall -Werror -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
     37EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
    3838
    3939AM_CCASFLAGS = @CFA_FLAGS@
  • src/libcfa/Makefile.in

    rfe1b6a4 r1ca52db  
    305305AUTOMAKE_OPTIONS = subdir-objects
    306306lib_LIBRARIES = $(am__append_1) $(am__append_2)
    307 EXTRA_FLAGS = -g -Wall -Werror -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
     307EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
    308308AM_CCASFLAGS = @CFA_FLAGS@
    309309headers = limits stdlib math iostream fstream iterator rational assert \
  • src/libcfa/fstream.c

    rfe1b6a4 r1ca52db  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Mar 23 08:20:41 2017
    13 // Update Count     : 226
     12// Last Modified On : Wed Mar 22 16:17:21 2017
     13// Update Count     : 221
    1414//
    1515
     
    2929#define IO_MSG "I/O error: "
    3030
    31 void ?{}( ofstream * this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) {
    32         this->file = file;
    33         this->sepDefault = sepDefault;
    34         this->sepOnOff = sepOnOff;
    35         sepSet( this, separator );
    36         sepSetCur( this, sepGet( this ) );
    37         sepSetTuple( this, tupleSeparator );
    38 }
    39 
    4031_Bool sepPrt( ofstream * os ) { return os->sepOnOff; }
    4132void sepOn( ofstream * os ) { os->sepOnOff = 1; }
     
    9283                exit( EXIT_FAILURE );
    9384        } // if
    94         ?{}( os, file, 1, 0, " ", ", " );
     85        os->file = file;
     86        sepOff( os );
     87        sepSet( os, " " );
    9588} // open
    9689
     
    132125} // fmt
    133126
     127void ?{}( ofstream * this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) {
     128        this->file = file;
     129        this->sepDefault = sepDefault;
     130        this->sepOnOff = sepOnOff;
     131        sepSet( this, separator );
     132        sepSetCur( this, sepGet( this ) );
     133        sepSetTuple( this, tupleSeparator );
     134}
     135
    134136static ofstream soutFile = { (FILE *)(&_IO_2_1_stdout_), 1, 0, " ", ", " };
    135137ofstream *sout = &soutFile;
  • src/libcfa/iostream.c

    rfe1b6a4 r1ca52db  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Mar 23 08:20:40 2017
    13 // Update Count     : 367
     12// Last Modified On : Wed Mar 22 17:46:06 2017
     13// Update Count     : 359
    1414//
    1515
     
    201201forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } )
    202202ostype * ?|?( ostype * os, T arg, Params rest ) {
     203        forall( ttype Params ) ostype * prtTuple( T arg, Params rest ) {
     204                os | arg;                                                                               // print first argument
     205                os | rest;                                                                              // print remaining arguments
     206                return os;
     207        } // prtTuple
    203208        sepSetCur( os, sepGetTuple( os ) );                                     // switch to tuple separator
    204         os | arg;                                                                                       // print first argument
    205         os | rest;                                                                                      // print remaining arguments
     209        prtTuple( arg, rest );                                                          // recursively print tuple
    206210        sepSetCur( os, sepGet( os ) );                                          // switch to regular separator
    207211        return os;
     
    219223        os | '\n';
    220224        flush( os );
    221         sepOff( os );                                                                           // prepare for next line
     225        sepOff( os );
    222226        return os;
    223227} // endl
  • src/tests/.expect/32/KRfunctions.txt

    rfe1b6a4 r1ca52db  
    4747    int ___retval_f5__i_1;
    4848}
    49 int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __anonymous_object0){
    50     int (*___retval_f6__PFi_i__1)(int __anonymous_object1);
     49int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int ){
     50    int (*___retval_f6__PFi_i__1)(int );
    5151}
    5252int (*__f7__FPFi_ii__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __a__i_1, int __b__i_1){
     
    6161int *(*__f10__FPFPi_ii__iPiPid__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1, double __y__d_1))(int __x__i_1, int __y__i_1){
    6262    int *(*___retval_f10__PFPi_ii__1)(int __x__i_1, int __y__i_1);
    63     int *__x__FPi_ii__2(int __anonymous_object2, int __anonymous_object3);
     63    int *__x__FPi_ii__2(int , int );
    6464    ((void)(___retval_f10__PFPi_ii__1=__x__FPi_ii__2) /* ?{} */);
    6565    return ((int *(*)(int __x__i_1, int __y__i_1))___retval_f10__PFPi_ii__1);
     
    7979const int __fred__FCi___1(){
    8080    const int ___retval_fred__Ci_1;
    81     int *(*__x__PFPi_ii__2)(int __anonymous_object4, int __anonymous_object5);
     81    int *(*__x__PFPi_ii__2)(int , int );
    8282    int __a__i_2;
    8383    int __b__i_2;
  • src/tests/.expect/64/KRfunctions.txt

    rfe1b6a4 r1ca52db  
    4747    int ___retval_f5__i_1;
    4848}
    49 int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __anonymous_object0){
    50     int (*___retval_f6__PFi_i__1)(int __anonymous_object1);
     49int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int ){
     50    int (*___retval_f6__PFi_i__1)(int );
    5151}
    5252int (*__f7__FPFi_ii__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __a__i_1, int __b__i_1){
     
    6161int *(*__f10__FPFPi_ii__iPiPid__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1, double __y__d_1))(int __x__i_1, int __y__i_1){
    6262    int *(*___retval_f10__PFPi_ii__1)(int __x__i_1, int __y__i_1);
    63     int *__x__FPi_ii__2(int __anonymous_object2, int __anonymous_object3);
     63    int *__x__FPi_ii__2(int , int );
    6464    ((void)(___retval_f10__PFPi_ii__1=__x__FPi_ii__2) /* ?{} */);
    6565    return ((int *(*)(int __x__i_1, int __y__i_1))___retval_f10__PFPi_ii__1);
     
    7979const int __fred__FCi___1(){
    8080    const int ___retval_fred__Ci_1;
    81     int *(*__x__PFPi_ii__2)(int __anonymous_object4, int __anonymous_object5);
     81    int *(*__x__PFPi_ii__2)(int , int );
    8282    int __a__i_2;
    8383    int __b__i_2;
  • src/tests/.expect/64/attributes.txt

    rfe1b6a4 r1ca52db  
    5858    __attribute__ ((used,unused,unused)) int __f7__i_1;
    5959    __attribute__ ((used,used,unused)) int __f8__i_1;
    60     __attribute__ ((unused)) int __anonymous_object0;
     60    __attribute__ ((unused)) int ;
    6161    __attribute__ ((unused,unused)) int *__f9__Pi_1;
    6262};
     
    226226    int **const ___retval_f2__CPPi_1;
    227227}
    228 __attribute__ ((unused,used,unused)) int (*__f3__FPA0i_i__1(int __anonymous_object1))[];
     228__attribute__ ((unused,used,unused)) int (*__f3__FPA0i_i__1(int ))[];
    229229__attribute__ ((unused,unused)) int (*__f3__FPA0i_i__1(int __p__i_1))[]{
    230230    int (*___retval_f3__PA0i_1)[];
    231231}
    232 __attribute__ ((unused,used,unused)) int (*__f4__FPFi_i____1())(int __anonymous_object2);
    233 __attribute__ ((unused,unused)) int (*__f4__FPFi_i____1())(int __anonymous_object3){
    234     int (*___retval_f4__PFi_i__1)(int __anonymous_object4);
     232__attribute__ ((unused,used,unused)) int (*__f4__FPFi_i____1())(int );
     233__attribute__ ((unused,unused)) int (*__f4__FPFi_i____1())(int ){
     234    int (*___retval_f4__PFi_i__1)(int );
    235235}
    236236__attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(long unsigned int __size);
    237237__attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr);
    238238__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void);
    239 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit0(void (*__func)(void), void *__anonymous_object5, void *__anonymous_object6);
     239__attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit0(void (*__func)(void), void *, void *);
    240240__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(int __status);
    241241__attribute__ ((format(printf, 1, 2))) extern int printf(const char *__restrict __format, ...);
     
    268268int __tpr2__Fi_PPi__1(__attribute__ ((unused,unused,unused,unused,unused,unused)) int **__Foo__PPi_1);
    269269int __tpr3__Fi_Pi__1(__attribute__ ((unused,unused,unused)) int *__Foo__Pi_1);
    270 int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) int (*__anonymous_object7)(__attribute__ ((unused,unused)) int __anonymous_object8[((long unsigned int )5)]));
     270int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) int (*)(__attribute__ ((unused,unused)) int [((long unsigned int )5)]));
    271271int __tpr5__Fi_PFi____1(__attribute__ ((unused,unused,unused)) int (*__Foo__PFi___1)());
    272272int __tpr6__Fi_PFi____1(__attribute__ ((unused,unused,unused)) int (*__Foo__PFi___1)());
    273 int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) int (*__anonymous_object9)(__attribute__ ((unused)) int (*__anonymous_object10)(__attribute__ ((unused,unused)) int __anonymous_object11)));
     273int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) int (*)(__attribute__ ((unused)) int (*)(__attribute__ ((unused,unused)) int )));
    274274int __ad__Fi___1(){
    275275    int ___retval_ad__i_1;
     
    320320    ((void)sizeof(enum __anonymous5 ));
    321321}
    322 int __apd1__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *__anonymous_object12, __attribute__ ((unused,unused,unused)) int *__anonymous_object13);
    323 int __apd2__Fi_PPiPPi__1(__attribute__ ((unused,unused,unused,unused)) int **__anonymous_object14, __attribute__ ((unused,unused,unused,unused)) int **__anonymous_object15);
    324 int __apd3__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *__anonymous_object16, __attribute__ ((unused,unused,unused)) int *__anonymous_object17);
    325 int __apd4__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*__anonymous_object18)(), __attribute__ ((unused,unused,unused)) int (*__anonymous_object19)());
    326 int __apd5__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (*__anonymous_object20)(__attribute__ ((unused)) int __anonymous_object21), __attribute__ ((unused,unused,unused)) int (*__anonymous_object22)(__attribute__ ((unused)) int __anonymous_object23));
    327 int __apd6__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*__anonymous_object24)(), __attribute__ ((unused,unused,unused)) int (*__anonymous_object25)());
    328 int __apd7__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (*__anonymous_object26)(__attribute__ ((unused)) int __anonymous_object27), __attribute__ ((unused,unused,unused)) int (*__anonymous_object28)(__attribute__ ((unused)) int __anonymous_object29));
     322int __apd1__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *, __attribute__ ((unused,unused,unused)) int *);
     323int __apd2__Fi_PPiPPi__1(__attribute__ ((unused,unused,unused,unused)) int **, __attribute__ ((unused,unused,unused,unused)) int **);
     324int __apd3__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *, __attribute__ ((unused,unused,unused)) int *);
     325int __apd4__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*)(), __attribute__ ((unused,unused,unused)) int (*)());
     326int __apd5__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int ), __attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int ));
     327int __apd6__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*)(), __attribute__ ((unused,unused,unused)) int (*)());
     328int __apd7__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int ), __attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int ));
    329329struct Vad {
    330     __attribute__ ((unused)) int __anonymous_object30;
    331     __attribute__ ((unused,unused)) int *__anonymous_object31;
    332     __attribute__ ((unused,unused)) int __anonymous_object32[((long unsigned int )10)];
    333     __attribute__ ((unused,unused)) int (*__anonymous_object33)();
     330    __attribute__ ((unused)) int ;
     331    __attribute__ ((unused,unused)) int *;
     332    __attribute__ ((unused,unused)) int [((long unsigned int )10)];
     333    __attribute__ ((unused,unused)) int (*)();
    334334};
    335335static inline void ___constructor__F_P4sVad_autogen___1(struct Vad *___dst__P4sVad_1);
  • src/tests/Makefile.am

    rfe1b6a4 r1ca52db  
    5151        @+python test.py --list --concurrent=${concurrent}
    5252
    53 .dummy : .dummy.c
    54         ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
    55 
    5653constant0-1DP : constant0-1.c
    5754        ${CC} ${CFLAGS} -DDUPS ${<} -o ${@}
  • src/tests/Makefile.in

    rfe1b6a4 r1ca52db  
    669669        @+python test.py --list --concurrent=${concurrent}
    670670
    671 .dummy : .dummy.c
    672         ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
    673 
    674671constant0-1DP : constant0-1.c
    675672        ${CC} ${CFLAGS} -DDUPS ${<} -o ${@}
  • src/tests/test.py

    rfe1b6a4 r1ca52db  
    2525# parses the Makefile to find the machine type (32-bit / 64-bit)
    2626def getMachineType():
    27         sh('echo "void ?{}(int*a,int b){}int main(){return 0;}" > .dummy.c')
     27        sh('echo "int main() { return 0; }" > .dummy.c')
    2828        sh("make .dummy", print2stdout=False)
    2929        _, out = sh("file .dummy", print2stdout=False)
Note: See TracChangeset for help on using the changeset viewer.