aboutsummaryrefslogtreecommitdiffstats
path: root/lib/prism/lex_compat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prism/lex_compat.rb')
-rw-r--r--lib/prism/lex_compat.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/lex_compat.rb b/lib/prism/lex_compat.rb
index 7556576f30..c1f5cfe944 100644
--- a/lib/prism/lex_compat.rb
+++ b/lib/prism/lex_compat.rb
@@ -607,7 +607,7 @@ module Prism
state = :default
heredoc_stack = [[]]
- result = Prism.lex(source, @filepath)
+ result = Prism.lex(source, filepath: @filepath)
result_value = result.value
previous_state = nil