diff options
author | Robert Griesemer <gri@golang.org> | 2009-10-15 22:52:11 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-10-15 22:52:11 -0700 |
commit | f2e6501de5a6c60bc422ec7f62db7f0557142f2e (patch) | |
tree | c05c4e219180d772ea7f044243ebc3af24477ee0 /src/pkg/go/printer/testdata/expressions.raw | |
parent | e3548c6ee4de222aef2d1abfc442e83135d56775 (diff) | |
download | go-f2e6501de5a6c60bc422ec7f62db7f0557142f2e.tar.gz |
improved handling of expression lists
R=rsc
DELTA=189 (118 added, 9 deleted, 62 changed)
OCL=35816
CL=35821
Diffstat (limited to 'src/pkg/go/printer/testdata/expressions.raw')
-rw-r--r-- | src/pkg/go/printer/testdata/expressions.raw | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/go/printer/testdata/expressions.raw b/src/pkg/go/printer/testdata/expressions.raw index 2d80ffac2..a9b7b9436 100644 --- a/src/pkg/go/printer/testdata/expressions.raw +++ b/src/pkg/go/printer/testdata/expressions.raw @@ -172,8 +172,7 @@ func (p *parser) charClass() { func addState(s []state, inst instr, match []int) { // handle comments correctly in multi-line expressions for i := 0; i < l; i++ { - if s[i].inst.index() == index && - // same instruction + if s[i].inst.index() == index && // same instruction s[i].match[0] < pos { // earlier match already going; leftmost wins return s; } |