mirror of
https://github.com/golang/go
synced 2024-11-25 09:57:57 -07:00
gc: more accurate description of -w and -W switches.
The -w switch actually prints steps of the syntax tree walks while -W prints a summary before and after the walk. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5444049
This commit is contained in:
parent
50c24bf6ec
commit
0c64972dd1
@ -137,6 +137,7 @@ usage(void)
|
|||||||
print(" -N disable optimizer\n");
|
print(" -N disable optimizer\n");
|
||||||
print(" -S print the assembly language\n");
|
print(" -S print the assembly language\n");
|
||||||
print(" -V print the compiler version\n");
|
print(" -V print the compiler version\n");
|
||||||
|
print(" -W print the parse tree after typing\n");
|
||||||
print(" -d print declarations\n");
|
print(" -d print declarations\n");
|
||||||
print(" -e no limit on number of errors printed\n");
|
print(" -e no limit on number of errors printed\n");
|
||||||
print(" -f print stack frame structure\n");
|
print(" -f print stack frame structure\n");
|
||||||
@ -146,7 +147,7 @@ usage(void)
|
|||||||
print(" -p assumed import path for this code\n");
|
print(" -p assumed import path for this code\n");
|
||||||
print(" -s disable escape analysis\n");
|
print(" -s disable escape analysis\n");
|
||||||
print(" -u disable package unsafe\n");
|
print(" -u disable package unsafe\n");
|
||||||
print(" -w print the parse tree after typing\n");
|
print(" -w print type checking details\n");
|
||||||
print(" -x print lex tokens\n");
|
print(" -x print lex tokens\n");
|
||||||
exits("usage");
|
exits("usage");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user