Optimize lexer and fix bugs

This commit is contained in:
Vikram Rangnekar
2019-06-14 22:17:21 -04:00
parent 9af320f396
commit 340dea242d
10 changed files with 301 additions and 197 deletions

View File

@ -36,7 +36,7 @@ type coreContext struct {
func (c *coreContext) handleReq(w io.Writer, req *http.Request) error {
var err error
qc, err := qcompile.CompileQuery(c.req.Query)
qc, err := qcompile.CompileQuery([]byte(c.req.Query))
if err != nil {
return err
}