<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go-git.git, branch dev.gcfe</title>
<subtitle>github.com: golang/go
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/'/>
<entry>
<title>misc/nacl: include parser.go for cmd/compile/internal/syntax tests</title>
<updated>2016-08-16T22:42:13+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-08-16T22:25:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=e809658d77616c0af4213ae25797ea861076a484'/>
<id>e809658d77616c0af4213ae25797ea861076a484</id>
<content type='text'>
Fix suggested by Minux.

Change-Id: Ia7aa8ccccc16535af4ec3ad23830ef0aa5d776ac
Reviewed-on: https://go-review.googlesource.com/27193
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Minux Ma &lt;minux@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix suggested by Minux.

Change-Id: Ia7aa8ccccc16535af4ec3ad23830ef0aa5d776ac
Reviewed-on: https://go-review.googlesource.com/27193
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Minux Ma &lt;minux@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/syntax: match old parser errors and line numbers</title>
<updated>2016-08-16T21:32:09+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-06-07T00:59:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=504a104a2cbc7e7e2a1c01be31c97f363369fe3e'/>
<id>504a104a2cbc7e7e2a1c01be31c97f363369fe3e</id>
<content type='text'>
This makes a bunch of changes to package syntax to tweak line numbers
for AST nodes. For example, short variable declaration statements are
now associated with the location of the ":=" token, and function calls
are associated with the location of the final ")" token. These help
satisfy many unit tests that assume the old parser's behavior.

Because many of these changes are questionable, they're guarded behind
a new "gcCompat" const to make them easy to identify and revisit in
the future.

A handful of remaining tests are too difficult to make behave
identically. These have been updated to execute with -newparser=0 and
comments explaining why they need to be fixed.

all.bash now passes with both the old and new parsers.

Change-Id: Iab834b71ca8698d39269f261eb5c92a0d55a3bf4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes a bunch of changes to package syntax to tweak line numbers
for AST nodes. For example, short variable declaration statements are
now associated with the location of the ":=" token, and function calls
are associated with the location of the final ")" token. These help
satisfy many unit tests that assume the old parser's behavior.

Because many of these changes are questionable, they're guarded behind
a new "gcCompat" const to make them easy to identify and revisit in
the future.

A handful of remaining tests are too difficult to make behave
identically. These have been updated to execute with -newparser=0 and
comments explaining why they need to be fixed.

all.bash now passes with both the old and new parsers.

Change-Id: Iab834b71ca8698d39269f261eb5c92a0d55a3bf4
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/gc: use new AST parser</title>
<updated>2016-08-16T21:32:09+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-05-07T06:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=29cfbcfef42cc1ae77b35fb2cd65245e8ce8f706'/>
<id>29cfbcfef42cc1ae77b35fb2cd65245e8ce8f706</id>
<content type='text'>
Introduce a new noder type to transform package syntax's AST into gc's
Node tree. Hidden behind a new -newparser flag.

Change-Id: Id0e862ef6196c41533876afc4ec289e21d422d18
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a new noder type to transform package syntax's AST into gc's
Node tree. Hidden behind a new -newparser flag.

Change-Id: Id0e862ef6196c41533876afc4ec289e21d422d18
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/dist: build cmd/compile/internal/syntax</title>
<updated>2016-08-16T21:32:09+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-05-07T06:16:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=55b9234023a224e047dcb2ef4796091f79ee3453'/>
<id>55b9234023a224e047dcb2ef4796091f79ee3453</id>
<content type='text'>
Change-Id: Ie6dd2318e031be445c0b1ae65d4c78723d5a1167
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie6dd2318e031be445c0b1ae65d4c78723d5a1167
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/syntax: add a Line method to interface Node</title>
<updated>2016-08-16T21:32:09+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-08-16T20:33:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=d6d493fc569ce5e8925843da213cea249ce34aae'/>
<id>d6d493fc569ce5e8925843da213cea249ce34aae</id>
<content type='text'>
Change-Id: I64baf334a35c72336d26fa6755c67eb9d6f4e93c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I64baf334a35c72336d26fa6755c67eb9d6f4e93c
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/syntax: refactor DeclStmt parsing</title>
<updated>2016-08-16T21:32:09+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-06-27T21:51:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=4bc85b2eb8664470c131517d9fab1090827857b6'/>
<id>4bc85b2eb8664470c131517d9fab1090827857b6</id>
<content type='text'>
No behavior change.

Change-Id: I93c7cb7ab76b5afa74e6a1f092b7045fb96467b1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No behavior change.

Change-Id: I93c7cb7ab76b5afa74e6a1f092b7045fb96467b1
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/syntax: emit errors for unexpected top-level tokens</title>
<updated>2016-08-16T21:32:09+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-06-10T21:18:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=83153e7f372a5822a771e132885633cd24d3df12'/>
<id>83153e7f372a5822a771e132885633cd24d3df12</id>
<content type='text'>
Fixes cmd/go's TestIssue7108.

Change-Id: I8436b0e3e5a9b36649d46a9c2c741d820115a5d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes cmd/go's TestIssue7108.

Change-Id: I8436b0e3e5a9b36649d46a9c2c741d820115a5d1
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/syntax: change Read to still return the AST</title>
<updated>2016-08-16T21:32:09+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-08-16T18:27:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=7a8201b92470c729e4e30fd22d16dca600ec9b7e'/>
<id>7a8201b92470c729e4e30fd22d16dca600ec9b7e</id>
<content type='text'>
If we the caller provided an error handler, still return our best
effort parsed AST tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we the caller provided an error handler, still return our best
effort parsed AST tree.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/syntax: fix off-by-1 for implicit semicolons</title>
<updated>2016-08-16T21:32:08+00:00</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2016-06-10T22:31:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=38d52ef0c49035d00d753f9fe192c4f66f3f8ccc'/>
<id>38d52ef0c49035d00d753f9fe192c4f66f3f8ccc</id>
<content type='text'>
pos and line already refer to the position immediately before the
returned newline character, so no need to decrement them further.

Change-Id: I1d7a32cde55a5b8a1c6fd882ec8ba532869cc858
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pos and line already refer to the position immediately before the
returned newline character, so no need to decrement them further.

Change-Id: I1d7a32cde55a5b8a1c6fd882ec8ba532869cc858
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/compile/internal/syntax: better error positions for scanner errors</title>
<updated>2016-08-16T21:32:08+00:00</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2016-06-10T21:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=f82bd3cc7d49491d43846907e4a1e63f1e42cef9'/>
<id>f82bd3cc7d49491d43846907e4a1e63f1e42cef9</id>
<content type='text'>
For string/comment not terminated errors, report error at the
start of the string/comment rather than the end of the file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For string/comment not terminated errors, report error at the
start of the string/comment rather than the end of the file.
</pre>
</div>
</content>
</entry>
</feed>
