File: print_ct.h

package info (click to toggle)
magnus 20060324-5.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,436 kB
  • ctags: 20,462
  • sloc: cpp: 130,217; ansic: 37,090; tcl: 10,970; perl: 1,109; makefile: 966; sh: 403; yacc: 372; csh: 57; awk: 33; asm: 10
file content (17 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* File print_ct.h  */
#include "tc.h"
#include "tcyacc.h"
#include "ct.h"
#include "ctype.h"
#include "miscellaneous.h"
#define PrintCosetRep	fprintf(fout,"coset rep "); \
			if (Gen_st[1].gen == '0') {  \
                                fprintf(fout,"%d",COSREP[1]); \
                                for (j = 2; j <= cosrepl; j++) \
                                        fprintf(fout,"*%d",COSREP[j]); \
                        } else \
                                for (j = 1; j <= cosrepl; j++) { \
                                        fprintf(fout,"%c",COSREP_A[j]); \
                                } \
                        printf("\n")