Skip to content

Commit ccfbbf6

Browse files
committed
go generate commands for building grammar
1 parent 904ca07 commit ccfbbf6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

parser/parser.go

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This file holds the go generate command to run yacc on the grammar in grammar.y.
2+
// To build y.go:
3+
// % go generate
4+
// % go build
5+
6+
//go:generate go tool yacc -v y.output grammar.y
7+
package parser

0 commit comments

Comments
 (0)