Rename 'std.d.*' to 'stdx.d.*' so RDMD can correctly compile Dscanner.
This commit is contained in:
parent
83fd2457d2
commit
bd225ba085
|
@ -3,8 +3,8 @@
|
||||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
import std.d.lexer;
|
import stdx.d.lexer;
|
||||||
import std.d.ast;
|
import stdx.d.ast;
|
||||||
import std.stdio;
|
import std.stdio;
|
||||||
import std.string;
|
import std.string;
|
||||||
|
|
||||||
|
|
10
build.sh
10
build.sh
|
@ -1,5 +1,5 @@
|
||||||
#dmd *.d std/d/*.d -release -inline -noboundscheck -O -w -wi -m64 -property -ofdscanner-dmd
|
#dmd *.d stdx/d/*.d -release -inline -noboundscheck -O -w -wi -m64 -property -ofdscanner-dmd
|
||||||
dmd *.d std/d/*.d -g -m64 -w -wi -ofdscanner
|
dmd *.d stdx/d/*.d -g -m64 -w -wi -ofdscanner
|
||||||
#ldc2 -O3 *.d std/d/*.d -of=dscanner-ldc -release -m64
|
#ldc2 -O3 *.d stdx/d/*.d -of=dscanner-ldc -release -m64
|
||||||
#ldc2 *.d std/d/*.d -of=dscanner -unittest -m64 -g
|
#ldc2 *.d stdx/d/*.d -of=dscanner -unittest -m64 -g
|
||||||
#/opt/gdc/bin/gdc -O3 -odscanner-gdc -fno-bounds-check -frelease -m64 *.d std/d/*.d
|
#/opt/gdc/bin/gdc -O3 -odscanner-gdc -fno-bounds-check -frelease -m64 *.d stdx/d/*.d
|
||||||
|
|
6
ctags.d
6
ctags.d
|
@ -5,9 +5,9 @@
|
||||||
|
|
||||||
module ctags;
|
module ctags;
|
||||||
|
|
||||||
import std.d.parser;
|
import stdx.d.parser;
|
||||||
import std.d.lexer;
|
import stdx.d.lexer;
|
||||||
import std.d.ast;
|
import stdx.d.ast;
|
||||||
import std.algorithm;
|
import std.algorithm;
|
||||||
import std.range;
|
import std.range;
|
||||||
import std.stdio;
|
import std.stdio;
|
||||||
|
|
|
@ -8,7 +8,7 @@ module highlighter;
|
||||||
|
|
||||||
import std.stdio;
|
import std.stdio;
|
||||||
import std.array;
|
import std.array;
|
||||||
import std.d.lexer;
|
import stdx.d.lexer;
|
||||||
|
|
||||||
void writeSpan(string cssClass, string value)
|
void writeSpan(string cssClass, string value)
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
module imports;
|
module imports;
|
||||||
|
|
||||||
import std.d.ast;
|
import stdx.d.ast;
|
||||||
import std.stdio;
|
import std.stdio;
|
||||||
|
|
||||||
class ImportPrinter : ASTVisitor
|
class ImportPrinter : ASTVisitor
|
||||||
|
|
4
main.d
4
main.d
|
@ -15,8 +15,8 @@ import std.path;
|
||||||
import std.regex;
|
import std.regex;
|
||||||
import std.stdio;
|
import std.stdio;
|
||||||
import std.range;
|
import std.range;
|
||||||
import std.d.lexer;
|
import stdx.d.lexer;
|
||||||
import std.d.parser;
|
import stdx.d.parser;
|
||||||
|
|
||||||
import highlighter;
|
import highlighter;
|
||||||
import stats;
|
import stats;
|
||||||
|
|
2
stats.d
2
stats.d
|
@ -6,7 +6,7 @@
|
||||||
module stats;
|
module stats;
|
||||||
|
|
||||||
import std.stdio;
|
import std.stdio;
|
||||||
import std.d.lexer;
|
import stdx.d.lexer;
|
||||||
|
|
||||||
pure nothrow bool isLineOfCode(TokenType t)
|
pure nothrow bool isLineOfCode(TokenType t)
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
* Source: $(PHOBOSSRC std/d/_ast.d)
|
* Source: $(PHOBOSSRC std/d/_ast.d)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module std.d.ast;
|
module stdx.d.ast;
|
||||||
|
|
||||||
import std.d.lexer;
|
import stdx.d.lexer;
|
||||||
import std.traits;
|
import std.traits;
|
||||||
|
|
||||||
// TODO: Many of these classes can be simplified by using std.variant.Algebraic
|
// TODO: Many of these classes can be simplified by using std.variant.Algebraic
|
|
@ -9,7 +9,7 @@
|
||||||
* Source: $(PHOBOSSRC std/d/_lexer.d)
|
* Source: $(PHOBOSSRC std/d/_lexer.d)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module std.d.entities;
|
module stdx.d.entities;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated from $(LINK http://www.w3.org/TR/html5/entities.json)
|
* Generated from $(LINK http://www.w3.org/TR/html5/entities.json)
|
|
@ -105,13 +105,13 @@
|
||||||
* Source: $(PHOBOSSRC std/d/_lexer.d)
|
* Source: $(PHOBOSSRC std/d/_lexer.d)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module std.d.lexer;
|
module stdx.d.lexer;
|
||||||
|
|
||||||
import std.algorithm;
|
import std.algorithm;
|
||||||
import std.ascii;
|
import std.ascii;
|
||||||
import std.conv;
|
import std.conv;
|
||||||
import std.datetime;
|
import std.datetime;
|
||||||
import std.d.entities;
|
import stdx.d.entities;
|
||||||
import std.exception;
|
import std.exception;
|
||||||
import std.range;
|
import std.range;
|
||||||
import std.regex;
|
import std.regex;
|
|
@ -52,10 +52,10 @@
|
||||||
* Source: $(PHOBOSSRC std/d/_parser.d)
|
* Source: $(PHOBOSSRC std/d/_parser.d)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module std.d.parser;
|
module stdx.d.parser;
|
||||||
|
|
||||||
import std.d.lexer;
|
import stdx.d.lexer;
|
||||||
import std.d.ast;
|
import stdx.d.ast;
|
||||||
import std.conv;
|
import std.conv;
|
||||||
import std.algorithm;
|
import std.algorithm;
|
||||||
import std.array;
|
import std.array;
|
Loading…
Reference in New Issue