File tree Expand file tree Collapse file tree 4 files changed +21
-20
lines changed Expand file tree Collapse file tree 4 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1
1
name "ddoc_preprocessor"
2
2
description "Preprocesses source code before running Ddoc over it"
3
- dependency "libdparse" version="~>0.8.7 "
3
+ dependency "libdparse" version="~>0.15.1 "
4
4
dependency "dmd" path="../../dmd"
5
5
versions "DdocOptions"
6
6
buildRequirements "disallowDeprecations"
Original file line number Diff line number Diff line change 2
2
"fileVersion" : 1 ,
3
3
"versions" : {
4
4
"dmd" : {"path" :" ../../dmd" },
5
- "libdparse" : " 0.8.7 " ,
6
- "stdx-allocator" : " 2.77.2 "
5
+ "libdparse" : " 0.15.4 " ,
6
+ "stdx-allocator" : " 2.77.5 "
7
7
}
8
8
}
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env dub
2
2
/+ + dub.sdl:
3
- dependency "libdparse" version="0.7.2-alpha.4 "
3
+ dependency "libdparse" version="0.15.1 "
4
4
name "assert_writeln_magic"
5
5
+/
6
6
/*
@@ -76,7 +76,8 @@ class TestVisitor(Out) : ASTVisitor
76
76
return ;
77
77
78
78
// only look at `a == b` within the AssertExpression
79
- if (typeid (expr.assertion) != typeid (CmpExpression))
79
+ if (! expr.assertArguments ||
80
+ typeid (expr.assertArguments.assertion) != typeid (CmpExpression))
80
81
return ;
81
82
82
83
lastAssert = expr;
@@ -180,15 +181,15 @@ private:
180
181
void parseString (Visitor)(ubyte [] sourceCode, Visitor visitor)
181
182
{
182
183
import dparse.lexer;
183
- import dparse.parser : parseModule;
184
+ import dparse.parser : parseModule, ParserConfig ;
184
185
import dparse.rollback_allocator : RollbackAllocator;
185
186
186
187
LexerConfig config;
187
188
auto cache = StringCache(StringCache.defaultBucketCount);
188
189
const (Token )[] tokens = getTokensForParser(sourceCode, config, &cache).array;
189
190
190
191
RollbackAllocator rba;
191
- auto m = parseModule(tokens, " magic.d" , &rba);
192
+ auto m = parseModule(ParserConfig( tokens, " magic.d" , &rba) );
192
193
visitor.visit(m);
193
194
}
194
195
Original file line number Diff line number Diff line change 1
1
{
2
2
"fileVersion" : 1 ,
3
3
"versions" : {
4
- "botan" : " 1.12.10 " ,
4
+ "botan" : " 1.12.18 " ,
5
5
"botan-math" : " 1.0.3" ,
6
6
"ddoc_preprocessor" : {"path" :" ../ddoc" },
7
- "ddox" : " 0.16.11 " ,
8
- "diet-ng" : " 1.5.0 " ,
7
+ "ddox" : " 0.16.15 " ,
8
+ "diet-ng" : " 1.7.2 " ,
9
9
"dmd" : {"path" :" ../../dmd" },
10
- "eventcore" : " 0.8.35 " ,
11
- "hyphenate" : " 1.1.1 " ,
12
- "libasync" : " 0.8.3 " ,
13
- "libdparse" : " 0.8.7 " ,
10
+ "eventcore" : " 0.9.7 " ,
11
+ "hyphenate" : " 1.1.2 " ,
12
+ "libasync" : " 0.8.6 " ,
13
+ "libdparse" : " 0.15.4 " ,
14
14
"libevent" : " 2.0.2+2.0.16" ,
15
- "memutils" : " 0.4.11 " ,
16
- "mir-linux-kernel" : " 1.0.0 " ,
15
+ "memutils" : " 1. 0.4" ,
16
+ "mir-linux-kernel" : " 1.0.1 " ,
17
17
"openssl" : " 1.1.6+1.0.1g" ,
18
- "stdx-allocator" : " 2.77.2 " ,
19
- "taggedalgebraic" : " 0.10.11 " ,
20
- "vibe-core" : " 1.4.0 " ,
21
- "vibe-d" : " 0.8.4 "
18
+ "stdx-allocator" : " 2.77.5 " ,
19
+ "taggedalgebraic" : " 0.11.16 " ,
20
+ "vibe-core" : " 1.9.3 " ,
21
+ "vibe-d" : " 0.9.0 "
22
22
}
23
23
}
You can’t perform that action at this time.
0 commit comments