diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-25 19:59:47 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-25 20:54:19 -0500 |
commit | 78a231014be3a76e9e546b31a5e6fa2a9a7b720e (patch) | |
tree | 89c64cc66898e20b7f2f81e837df68f265c62757 /src/ext_depends/D-YAML/source/dyaml/scanner.d | |
parent | verbosity 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.d | 6 |
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. |