aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/source/dyaml/reader.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/source/dyaml/reader.d')
-rw-r--r--src/ext_depends/D-YAML/source/dyaml/reader.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/source/dyaml/reader.d b/src/ext_depends/D-YAML/source/dyaml/reader.d
index 9fe42fc..ae44c80 100644
--- a/src/ext_depends/D-YAML/source/dyaml/reader.d
+++ b/src/ext_depends/D-YAML/source/dyaml/reader.d
@@ -405,6 +405,9 @@ final class Reader
/// Get file name.
string name() const @safe pure nothrow @nogc { return name_; }
+ /// Set file name.
+ void name(string name) pure @safe nothrow @nogc { name_ = name; }
+
/// Get current line number.
uint line() const @safe pure nothrow @nogc { return line_; }