Skip to content

Commit 41f1392

Browse files
committed
Fix tokenize usage
1 parent b7f1e2d commit 41f1392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-c_parser/lib/graphql/c_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def initialize(query_string, filename, trace)
7676
def result
7777
if @result.nil?
7878
@tokens = @trace.lex(query_string: @query_string) do
79-
GraphQL::CParser.scan_with_c(@query_string)
79+
GraphQL::CParser::Lexer.tokenize(@query_string)
8080
end
8181
@trace.parse(query_string: @query_string) do
8282
c_parse

0 commit comments

Comments
 (0)