remove export name-list statement.
make package local the default.
warn about name case not matching export keyword.
R=ken
OCL=22881
CL=22886
diff --git a/src/cmd/gc/go.h b/src/cmd/gc/go.h
index 19b44f9..ff699059 100644
--- a/src/cmd/gc/go.h
+++ b/src/cmd/gc/go.h
@@ -180,7 +180,7 @@
uchar addable; // type of addressability - 0 is not addressable
uchar trecur; // to detect loops
uchar etype; // op for OASOP, etype for OTYPE, exclam for export
- uchar class; // PPARAM, PAUTO, PEXTERN, PSTATIC
+ uchar class; // PPARAM, PAUTO, PEXTERN
uchar method; // OCALLMETH name
uchar iota; // OLITERAL made from iota
uchar embedded; // ODCLFIELD embedded type
@@ -404,7 +404,6 @@
PEXTERN, // declaration context
PAUTO,
PPARAM,
- PSTATIC,
};
enum
@@ -741,6 +740,7 @@
* export.c
*/
void renamepkg(Node*);
+void autoexport(Sym*);
void exportsym(Sym*);
void packagesym(Sym*);
void dumpe(Sym*);