[pkg-d-commits] [ldc] 64/149: Fix C++ declaration of IfStatement::match.

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:36:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.2.0
in repository ldc.

commit 84d5ee2332403c90276b83bcb7613c85b915b408
Author: Johan Engelen <jbc.engelen at gmail.com>
Date:   Sun Jan 29 23:36:11 2017 +0100

    Fix C++ declaration of IfStatement::match.
---
 ddmd/statement.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ddmd/statement.h b/ddmd/statement.h
index 2011905..c64759b 100644
--- a/ddmd/statement.h
+++ b/ddmd/statement.h
@@ -346,9 +346,8 @@ public:
     Expression *condition;
     Statement *ifbody;
     Statement *elsebody;
-    Loc endloc;                 // location of closing curly bracket
-
     VarDeclaration *match;      // for MatchExpression results
+    Loc endloc;                 // location of closing curly bracket
 
     Statement *syntaxCopy();
     IfStatement *isIfStatement() { return this; }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list