fix unexported code generation

This commit is contained in:
Arpad Ryszka 2025-08-20 03:30:46 +02:00
parent 3474d3615b
commit eb2be6c5c0

View File

@ -402,7 +402,7 @@ func (s *Syntax) Generate(o GeneratorOptions, w io.Writer) error {
if o.Export {
fprint(`func Parse(r io.Reader) (*Node, error) {`)
} else {
fprint(`func parse(r io.Reader) (*Node, error) {`)
fprint(`func parse(r io.Reader) (*node, error) {`)
}
fprintln()