Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
various cleanup, deleting unused code
R=ken2
CC=golang-dev
http://codereview.appspot.com/1663041
|
|
Cleans up a few other corner cases too.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1592045
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/1597043
|
|
Fixes issue 844.
R=ken2, rsc, ken3
CC=golang-dev
http://codereview.appspot.com/1593041
|
|
Fixes issue 771.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1267042
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/1220046
|
|
R=ken2, r, ken3
CC=golang-dev
http://codereview.appspot.com/1006041
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/883049
|
|
import and export
R=rsc
CC=golang-dev
http://codereview.appspot.com/214050
|
|
No longer a distinct type; now a property of func types.
R=ken2
CC=golang-dev
http://codereview.appspot.com/197042
|
|
* example-based syntax errors (go.errors)
* enable bison's more specific errors
and translate grammar token names into
tokens like ++
* test cases
R=ken2, r, ken3
CC=golang-dev
http://codereview.appspot.com/194085
|
|
also allow func() func().
R=ken2
CC=golang-dev
http://codereview.appspot.com/194078
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/194071
|
|
detect compilation of special package runtime with
compiler flag instead of package name.
R=ken2
CC=golang-dev
http://codereview.appspot.com/193080
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/193079
|
|
5g/6g/8g: add import statements to export metadata, mapping package path to package name.
recognize "" as the path of the package in export metadata.
use "" as the path of the package in object symbol names.
5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package.
5l/6l/8l: rewrite "" in symbol names as object files are read.
gotest: handle new symbol names.
gopack: handle new import lines in export metadata.
Collectively, these changes eliminate the assumption of a global
name space in the object file formats. Higher level pieces such as
reflect and the computation of type hashes still depend on the
assumption; we're not done yet.
R=ken2, r, ken3
CC=golang-dev
http://codereview.appspot.com/186263
Committer: Russ Cox <rsc@golang.org>
|
|
* switch to real dot (.) instead of center dot (·) everywhere in object files.
before it was half and half depending on where in the name it appeared.
* in 6c/6a/etc identifiers, · can still be used but turns into . immediately.
* in export metadata, replace package identifiers with quoted strings
(still package names, not paths).
R=ken2, r
CC=golang-dev
http://codereview.appspot.com/190076
|
|
Fixes issue 403.
R=ken2
http://codereview.appspot.com/180052
|
|
R=ken2
http://codereview.appspot.com/179070
|
|
Fixes issue 423.
R=ken2
http://codereview.appspot.com/180045
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/174077
|
|
Fixes issue 89.
Fixes issue 92.
Fixes issue 118.
Fixes issue 182.
Fixes issue 328.
Fixes issue 340.
R=ken2, ken3
CC=golang-dev
http://codereview.appspot.com/172049
|
|
Fixes issue 364.
R=ken2
http://codereview.appspot.com/164092
|
|
* add runtime sliceslice1 for x[lo:]
* remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)].
* port cgen_inline into 8g, 5g.
* use native memmove in maps
R=ken2
http://codereview.appspot.com/157106
|
|
* check for struct literal assignment to private fields.
* record, fix crash involving parallel map assignment.
* avoid infinite recursion in exportassignok.
* make floating point bounds check precise.
* avoid crash on invalid receiver.
* add context to error about implicit assignment.
Fixes issue 86.
Fixes issue 88.
Fixes issue 158.
Fixes issue 174.
Fixes issue 201.
Fixes issue 204.
R=ken2
http://codereview.appspot.com/154144
|
|
<stdio.h>, which we weren't even #including
R=r
http://codereview.appspot.com/154108
|
|
update comment.
R=ken
http://go/go-review/1025031
|
|
R=ken
OCL=35902
CL=35904
|
|
because they are in package runtime.
another step to enforcing package boundaries.
R=r
DELTA=732 (114 added, 93 deleted, 525 changed)
OCL=35811
CL=35824
|
|
turn off testdclstack and "not used" errors
when there are syntax errors.
BUG=2181825
R=ken
OCL=35606
CL=35608
|
|
node printing fixes.
silence incorrect redeclaration error.
R=ken
OCL=35602
CL=35602
|
|
references during the parsing of :=. the base
problem is that when reading
a,b,c,d
the parser makes those refer to existing variables,
which might create a few stub top-level ones
for undefined names, but then if a := is the next
token, we need to undo those stubs.
this was causing problems in multifile packages
in which one file used a := variable named rpc
and the other imported a package named rpc.
R=ken
OCL=35446
CL=35446
|
|
allow parens around [...]int in struct literal.
R=ken
OCL=35112
CL=35130
|
|
per discussion with gri.
R=ken
OCL=35108
CL=35108
|
|
R=ken
OCL=35042
CL=35044
|