fix unexported code generation
This commit is contained in:
parent
3474d3615b
commit
eb2be6c5c0
@ -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