pointlander / peg

Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
BSD 3-Clause "New" or "Revised" License
1.02k stars 120 forks source link

fix: add strings #136

Closed sashamelentyev closed 7 months ago

sashamelentyev commented 7 months ago

When peg generate code like this:

        case ruleAction63:
            p.Search.Operand(&search.NodeBcc{}, strings.Trim(text, `"`))

peg dont add strings import