diff options
Diffstat (limited to 'src/pkg/datafmt/parser.go')
| -rw-r--r-- | src/pkg/datafmt/parser.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/datafmt/parser.go b/src/pkg/datafmt/parser.go index 3e86e0f2d..245689a0c 100644 --- a/src/pkg/datafmt/parser.go +++ b/src/pkg/datafmt/parser.go @@ -124,8 +124,7 @@ func (p *parser) parseRuleName() (string, bool) { func (p *parser) parseString() string { s := ""; if p.tok == token.STRING { - var err os.Error; - s, err = strconv.Unquote(string(p.lit)); + s, _ = strconv.Unquote(string(p.lit)); // Unquote may fail with an error, but only if the scanner found // an illegal string in the first place. In this case the error // has already been reported. |
