Skip to content
Snippets Groups Projects
Commit d5f2d9b1 authored by Manish R Jain's avatar Manish R Jain
Browse files

Merge pull request #44 from tim-cheng/master

use new Lexer initializer
parents 15741245 367e3e97
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,8 @@ func run(l *lex.Lexer) {
}
func Parse(input string) (gq *GraphQuery, mu *Mutation, rerr error) {
l := lex.NewLexer(input)
l := &lex.Lexer{}
l.Init(input)
go run(l)
mu = nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment