go/src/cmd/compile/internal/syntax
Robert Griesemer 422c7fea70 cmd/compile: don't permit declarations in post statement of for loop
Report syntax error that was missed when moving to new parser.

Fixes #19610.

Change-Id: Ie5625f907a84089dc56fcccfd4f24df546042783
Reviewed-on: https://go-review.googlesource.com/38375
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-03-20 20:02:34 +00:00
..
dumper.go cmd/compile/internal/syntax: print position info for names in tree dump 2017-03-06 23:45:14 +00:00
dumper_test.go [dev.inline] cmd/internal/src: replace src.Pos with syntax.Pos 2017-01-09 22:33:23 +00:00
nodes.go cmd/compile/internal/syntax: track column position at function end 2017-03-16 18:28:51 +00:00
nodes_test.go cmd/compile/internal/syntax: start line offset (column) numbers at 1 2017-03-09 23:28:48 +00:00
parser.go cmd/compile: don't permit declarations in post statement of for loop 2017-03-20 20:02:34 +00:00
parser_test.go cmd/compile/internal/syntax: start line offset (column) numbers at 1 2017-03-09 23:28:48 +00:00
printer.go [dev.typealias] cmd/compile: recognize type aliases but complain for now (not yet supported) 2017-01-10 00:10:11 +00:00
printer_test.go all: merge dev.inline into master 2017-02-01 09:47:23 -05:00
scanner.go cmd/compile/internal/syntax: start line offset (column) numbers at 1 2017-03-09 23:28:48 +00:00
scanner_test.go cmd/compile/internal/syntax: start line offset (column) numbers at 1 2017-03-09 23:28:48 +00:00
source.go cmd/compile/internal/syntax: start line offset (column) numbers at 1 2017-03-09 23:28:48 +00:00
syntax.go [dev.inline] cmd/internal/src: replace src.Pos with syntax.Pos 2017-01-09 22:33:23 +00:00
tokens.go Revert "cmd/compile/internal/syntax: support for alias declarations" 2016-11-05 00:46:39 +00:00