go/doc
Matthew Dempsky abb818bc03 spec: fix binary expression grammar rule
The spec explains later in the "Operator precedence" section that *
has a higher precedence than +, but the current production rule
requires that "1 + 2 * 3" be parsed as "(1 + 2) * 3", instead of the
intended "1 + (2 * 3)".

The new production rule better matches cmd/internal/gc/go.y's grammar:

    expr:
            uexpr
    |       expr LOROR expr
    |       expr LANDAND expr
    |       ...

Fixes #10151.

Change-Id: I13c9635d6ddf1263cafe7cc63e68f3e5779e24ba
Reviewed-on: https://go-review.googlesource.com/9163
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-05-13 17:40:38 +00:00
..
articles doc/articles/go_command.html: mention go generate 2015-04-17 20:33:25 +00:00
codewalk doc: fix typo in sharemem codewalk 2014-05-21 14:34:20 -07:00
devel doc: document Go 1.4.2 2015-02-18 03:29:47 +00:00
gopher doc/gopher: add jpgs of the 5th anniversary image 2014-11-11 23:46:20 +11:00
play doc/play: revise peano.go comment again. 2014-12-12 01:40:04 +00:00
progs doc/progs: disable cgo tests that use C.Stdout on Solaris 2015-05-06 11:38:22 +00:00
asm.html doc/asm: document that assembly function must use short name 2015-02-15 00:07:11 +00:00
cmd.html all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
code.html doc: Added link to 'go help gopath' 2015-01-05 21:24:39 +00:00
contrib.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
contribute.html doc/contribute.html rewrite "Set up auth... code review". 2015-03-02 02:11:58 +00:00
debugging_with_gdb.html build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
docs.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
effective_go.html doc/effective_go: make function signature match function body 2015-05-08 17:01:24 +00:00
gccgo_contribute.html all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
gccgo_install.html gccgo_install.html: the 4.9 release series supports Go 1.2 2014-10-22 20:41:13 -07:00
go-logo-black.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-blue.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-white.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go1.1.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
go1.2.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
go1.3.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
go1.4.html doc/go1.4.html: fix typo 2015-03-24 18:17:49 +00:00
go1.5.txt doc: mention returned error types and values on the net package in go1.5.txt 2015-05-07 01:24:27 +00:00
go1.html doc: link directly to https://golang.org/dl/ 2014-09-12 09:15:58 +10:00
go1compat.html all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
go_faq.html doc/faq: replace reference to goven with gomvpkg 2015-04-23 03:39:17 +00:00
go_mem.html doc/go_mem.html: correct the channel example 2015-03-16 21:43:31 +00:00
go_spec.html spec: fix binary expression grammar rule 2015-05-13 17:40:38 +00:00
help.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
ie.css
install-source.html doc/install-source.html: fix cd command, already in go dir. 2015-02-25 21:34:01 +00:00
install.html runtime, syscall: use SYSCALL instruction on FreeBSD. 2015-01-18 23:51:50 +00:00
root.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
share.png godoc: change link styles, add 'pop out' button 2012-03-13 11:00:11 +11:00
tos.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00