Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(127)

Unified Diff: src/cmd/cgo/ast.go

Issue 194098: code review 194098: More steps towards tracking of identifier scopes. (Closed)
Patch Set: code review 194098: More steps towards tracking of identifier scopes. Created 15 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/cmd/cgo/gcc.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/cgo/ast.go
===================================================================
--- a/src/cmd/cgo/ast.go
+++ b/src/cmd/cgo/ast.go
@@ -60,7 +60,7 @@
func openProg(name string, p *Prog) {
var err os.Error
- p.AST, err = parser.ParseFile(name, nil, parser.ParseComments)
+ p.AST, err = parser.ParseFile(name, nil, nil, parser.ParseComments)
if err != nil {
if list, ok := err.(scanner.ErrorList); ok {
// If err is a scanner.ErrorList, its String will print just
« no previous file with comments | « no previous file | src/cmd/cgo/gcc.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b