diff --git a/dub.json b/dub.json index 7c49380..8cddddb 100644 --- a/dub.json +++ b/dub.json @@ -1,14 +1,14 @@ { "name": "dcd", "description": "The D Completion Daemon is an auto-complete program for the D programming language", - "copyright": "Copyright © 2015-2016, Brian Schott", + "copyright": "Copyright © 2015-2017, Brian Schott", "authors": [ "Brian Schott" ], "license": "GPL-3.0", "dependencies": { "dsymbol": "~>0.2.1-alpha.2", - "libdparse": "~>0.7.1-beta.1", + "libdparse": "~>0.7.1-beta.4", "msgpack-d": "~>1.0.0-beta.3" }, "versions": ["built_with_dub"], diff --git a/libdparse b/libdparse index 48c6e39..5e81535 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 48c6e39785a8bc2aeda7bacbc2c6bda68612e735 +Subproject commit 5e81535d0aff4ceec2cbf03f5b02a31ae6d3fec2 diff --git a/tests/tc053/expected.txt b/tests/tc053/expected.txt new file mode 100644 index 0000000..765140b --- /dev/null +++ b/tests/tc053/expected.txt @@ -0,0 +1 @@ +U diff --git a/tests/tc053/file.d b/tests/tc053/file.d new file mode 100644 index 0000000..c2d9bd6 --- /dev/null +++ b/tests/tc053/file.d @@ -0,0 +1 @@ +/**U*/union Un{} Un u; diff --git a/tests/tc053/run.sh b/tests/tc053/run.sh new file mode 100755 index 0000000..97d0709 --- /dev/null +++ b/tests/tc053/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c19 -d > actual.txt +diff actual.txt expected.txt