summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/lib/psych/parser.rb')
-rw-r--r--ext/psych/lib/psych/parser.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/parser.rb b/ext/psych/lib/psych/parser.rb
index 0e38a4ae7d..5d75605d49 100644
--- a/ext/psych/lib/psych/parser.rb
+++ b/ext/psych/lib/psych/parser.rb
@@ -30,6 +30,9 @@ module Psych
# construct an AST of the parsed YAML document.
class Parser
+ class Mark < Struct.new(:index, :line, :column)
+ end
+
# The handler on which events will be called
attr_accessor :handler