From 7784e066c9a87dce6d25f8aa723a01facabf6342 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Tue, 6 Nov 2018 04:04:37 +0100 Subject: [PATCH] update dparse and dastworx --- dastworx/src/common.d | 2 +- dastworx/src/main.d | 4 ++-- etc/libdparse | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dastworx/src/common.d b/dastworx/src/common.d index f7d6f014..acadd38e 100644 --- a/dastworx/src/common.d +++ b/dastworx/src/common.d @@ -396,6 +396,6 @@ T parseAndVisit(T : ASTVisitor)(const(char)[] source) * By default libdparse outputs errors and warnings to the standard streams. * This function prevents that. */ -void ignoreErrors(string, size_t, size_t, string, bool) +void ignoreErrors(string, size_t, size_t, string, bool) @system {} diff --git a/dastworx/src/main.d b/dastworx/src/main.d index 09d8aa43..32ad14f2 100644 --- a/dastworx/src/main.d +++ b/dastworx/src/main.d @@ -57,9 +57,9 @@ struct Launcher { mixin(logCall); - Appender!(AstErrors) errors; + static Appender!(AstErrors) errors; - void handleErrors(string fname, size_t line, size_t col, string message, bool err) + static void handleErrors(string fname, size_t line, size_t col, string message, bool err) { errors ~= construct!(AstError)(cast(ErrorType) err, message, line, col); } diff --git a/etc/libdparse b/etc/libdparse index 95444a96..7113ccdb 160000 --- a/etc/libdparse +++ b/etc/libdparse @@ -1 +1 @@ -Subproject commit 95444a966923a24098c31464e09a7096208da155 +Subproject commit 7113ccdb02097eb8e1ba65cde3e47ed21b70cb67