1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:54:43 -07:00

document ebnflint

R=gri
http://go/go-review/1016034
This commit is contained in:
Rob Pike 2009-11-03 22:19:56 -08:00
parent 3fa379e797
commit c6dd8c18f0

22
src/cmd/ebnflint/doc.go Normal file
View File

@ -0,0 +1,22 @@
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
The ebnflint program verifies that EBNF productions in an HTML document
such as the Go specification document are consistent and grammatically correct.
Grammar productions are grouped in boxes demarcated by the HTML elements
<pre class="ebnf">
</pre>
Usage:
ebnflint [--start production] [file]
The --start flag specifies the name of the start production for
the grammar; it defaults to "Start".
*/
package documentation