From 8bd1faf2f33e455831b80df4493195848fd03b99 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 26 May 2022 10:08:50 -0400 Subject: sub dependency update, updates D-YAML --- src/ext_depends/D-YAML/source/dyaml/exception.d | 28 ++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/ext_depends/D-YAML/source/dyaml/exception.d') 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 -- cgit v1.2.3