Add tests, fixes for tests, reinstate and type-convert stuff marked "bitrot"
[ccom.git] / uniqify0.sed
1 s/@/ATSIGN/g
2 s/^/@/
3 s/$/@/
4 s/[^A-Za-z0-9_]\+/@&@/g
5
6 # functions
7 s/@\(rcexpr\)@\([        ]*(\)/@\10@\2/g
8 s/@\(error\)@\([         ]*(\)/@\10@\2/g
9 s/@\(pswitch\)@\([       ]*(\)/@\10@\2/g
10 s/@\(cbranch\)@\([       ]*(\)/@\10@\2/g
11 s/@\(label\)@\([         ]*(\)/@\10@\2/g
12 s/@\(branch\)@\([        ]*(\)/@\10@\2/g
13 s/@\(werror\)@\([        ]*(\)/@\10@\2/g
14 s/@\(decref\)@\([        ]*(\)/@\10@\2/g
15 s/@\(incref\)@\([        ]*(\)/@\10@\2/g
16
17 # variables
18 s/@\(opdope\)@/@\10@/g
19 s/@\(isn\)@/@\10@/g
20
21 # values
22 s/@\(TNULL\)@/@\10@/g
23
24 # types
25 s/@\(struct@[    ]*@tnode\)@/@\10@/g
26 s/@\(struct@[    ]*@cnode\)@/@\10@/g
27 s/@\(struct@[    ]*@lnode\)@/@\10@/g
28 s/@\(struct@[    ]*@fnode\)@/@\10@/g
29 s/@\(union@[     ]*@tree\)@/@\10@/g
30
31 s/@//g
32 s/ATSIGN/@/g