• Matthew Dempsky's avatar
    cmd/compile/internal/syntax: expose additional information for gc · 11779362
    Matthew Dempsky authored
    gc needs access to line offsets for Nodes. It also needs access to the
    end line offset for function bodies so it knows what line number to
    use for things like implicit returns and defer executions.
    
    Lastly, include an extra bool to distinguish between simple and full
    slice expressions. This is redundant in valid parse trees, but needed
    by gc for producing complete warnings in invalid inputs.
    
    Change-Id: I64baf334a35c72336d26fa6755c67eb9d6f4e93c
    Reviewed-on: https://go-review.googlesource.com/27196Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    11779362
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...