fix unexported code generation
This commit is contained in:
parent
9df067e770
commit
65cf8f34f3
@ -402,7 +402,7 @@ func (s *Syntax) Generate(o GeneratorOptions, w io.Writer) error {
|
|||||||
if o.Export {
|
if o.Export {
|
||||||
fprint(`func Parse(r io.Reader) (*Node, error) {`)
|
fprint(`func Parse(r io.Reader) (*Node, error) {`)
|
||||||
} else {
|
} else {
|
||||||
fprint(`func parse(r io.Reader) (*Node, error) {`)
|
fprint(`func parse(r io.Reader) (*node, error) {`)
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintln()
|
fprintln()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user