Skip to content

Commit

Permalink
Makefile: tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
morefreeze committed Jan 20, 2016
1 parent c2510cc commit ff0a660
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ parser:
fi

$(GOLEX) -o parser/scanner.go parser/scanner.l
@awk 'BEGIN{print "// Code generated by goyacc"} {print $0}' parser/parser.go > /tmp/parser.go && cp /tmp/parser.go parser/parser.go;
@awk 'BEGIN{print "// Code generated by goyacc"} {print $0}' parser/scanner.go > /tmp/scanner.go && cp /tmp/scanner.go parser/scanner.go;
@awk 'BEGIN{print "// Code generated by goyacc"} {print $0}' parser/parser.go > tmp_parser.go && mv tmp_parser.go parser/parser.go;
@awk 'BEGIN{print "// Code generated by goyacc"} {print $0}' parser/scanner.go > tmp_scanner.go && mv tmp_scanner.go parser/scanner.go;

check:
go get github.com/golang/lint/golint
Expand Down
1 change: 1 addition & 0 deletions parser/parser.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions parser/scanner.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ff0a660

Please sign in to comment.