Skip to content

Commit

Permalink
Fix tokenize usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed May 18, 2023
1 parent b7f1e2d commit 41f1392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql-c_parser/lib/graphql/c_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def initialize(query_string, filename, trace)
def result
if @result.nil?
@tokens = @trace.lex(query_string: @query_string) do
GraphQL::CParser.scan_with_c(@query_string)
GraphQL::CParser::Lexer.tokenize(@query_string)
end
@trace.parse(query_string: @query_string) do
c_parse
Expand Down

0 comments on commit 41f1392

Please sign in to comment.