|
gc: clean up printing.
Got rid of all the magic mystery globals. Now
for %N, %T, and %S, the flags +,- and # set a sticky
debug, sym and export mode, only visible in the new fmt.c.
Default is error mode. Handle h and l flags consistently with
the least side effects, so we can now change
things without worrying about unrelated things
breaking.
fixes issue 2361
Total comments: 52
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1693 lines, -1827 lines) |
Patch |
 |
M |
src/cmd/gc/Makefile
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/const.c
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/dcl.c
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/esc.c
|
View
|
1
|
8 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/export.c
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
11 chunks |
+56 lines, -120 lines |
0 comments
|
Download
|
 |
A |
src/cmd/gc/fmt.c
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
1 chunk |
+1519 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/gen.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/gc/go.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+8 lines, -23 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/go.y
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/gc/lex.c
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -12 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/obj.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
R |
src/cmd/gc/print.c
|
View
|
1
|
1 chunk |
+0 lines, -625 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/range.c
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/reflect.c
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/subr.c
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
|
7 chunks |
+6 lines, -946 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/typecheck.c
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
44 chunks |
+64 lines, -64 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/unsafe.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/gc/walk.c
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/fmt/fmt_test.go
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/reflect/all_test.go
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/ddd1.go
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/fixedbugs/bug340.go
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/named1.go
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 15
|