aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/source/dyaml/scanner.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-02-25 19:59:47 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-02-25 20:54:19 -0500
commit78a231014be3a76e9e546b31a5e6fa2a9a7b720e (patch)
tree89c64cc66898e20b7f2f81e837df68f265c62757 /src/ext_depends/D-YAML/source/dyaml/scanner.d
parentverbosity level, "vox_gt[lv]" (voice greater than) (diff)
external dependency update, housekeeping, routine
Diffstat (limited to 'src/ext_depends/D-YAML/source/dyaml/scanner.d')
-rw-r--r--src/ext_depends/D-YAML/source/dyaml/scanner.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/source/dyaml/scanner.d b/src/ext_depends/D-YAML/source/dyaml/scanner.d
index 2009521..3f0f394 100644
--- a/src/ext_depends/D-YAML/source/dyaml/scanner.d
+++ b/src/ext_depends/D-YAML/source/dyaml/scanner.d
@@ -185,6 +185,12 @@ struct Scanner
return tokens_.empty;
}
+ /// Set file name.
+ void name(string name) @safe pure nothrow @nogc
+ {
+ reader_.name = name;
+ }
+
private:
/// Most scanning error messages have the same format; so build them with this
/// function.