diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-26 10:08:50 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-27 15:33:38 -0400 |
commit | 8bd1faf2f33e455831b80df4493195848fd03b99 (patch) | |
tree | b8ef070f1d4b1905524e4664f0c567afd0fab97f /src/ext_depends/D-YAML/source/dyaml/exception.d | |
parent | housekeeping (diff) |
sub dependency update, updates D-YAML
Diffstat (limited to 'src/ext_depends/D-YAML/source/dyaml/exception.d')
-rw-r--r-- | src/ext_depends/D-YAML/source/dyaml/exception.d | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/ext_depends/D-YAML/source/dyaml/exception.d b/src/ext_depends/D-YAML/source/dyaml/exception.d index 46d3047..15e9c61 100644 --- a/src/ext_depends/D-YAML/source/dyaml/exception.d +++ b/src/ext_depends/D-YAML/source/dyaml/exception.d @@ -77,20 +77,6 @@ struct Mark } } -package: -// A struct storing parameters to the MarkedYAMLException constructor. -struct MarkedYAMLExceptionData -{ - // Context of the error. - string context; - // Position of the context in a YAML buffer. - Mark contextMark; - // The error itself. - string problem; - // Position if the error. - Mark problemMark; -} - // Base class of YAML exceptions with marked positions of the problem. abstract class MarkedYAMLException : YAMLException { @@ -124,6 +110,20 @@ abstract class MarkedYAMLException : YAMLException } } +package: +// A struct storing parameters to the MarkedYAMLException constructor. +struct MarkedYAMLExceptionData +{ + // Context of the error. + string context; + // Position of the context in a YAML buffer. + Mark contextMark; + // The error itself. + string problem; + // Position if the error. + Mark problemMark; +} + // Constructors of YAML exceptions are mostly the same, so we use a mixin. // // See_Also: YAMLException |