diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.gitmodules b/.gitmodules old mode 100644 new mode 100755 diff --git a/LICENSE_1_0.txt b/LICENSE_1_0.txt old mode 100644 new mode 100755 diff --git a/autocomplete.d b/autocomplete.d old mode 100644 new mode 100755 diff --git a/createTable.sql b/createTable.sql old mode 100644 new mode 100755 diff --git a/ctags.d b/ctags.d old mode 100644 new mode 100755 diff --git a/dsc.sublime-project b/dsc.sublime-project old mode 100644 new mode 100755 diff --git a/editors/textadept/README.txt b/editors/textadept/README.txt old mode 100644 new mode 100755 diff --git a/editors/vim/README.md b/editors/vim/README.md old mode 100644 new mode 100755 diff --git a/editors/vim/autoload/dcomplete.vim b/editors/vim/autoload/dcomplete.vim old mode 100644 new mode 100755 diff --git a/editors/vim/ftplugin/d.vim b/editors/vim/ftplugin/d.vim old mode 100644 new mode 100755 diff --git a/makefile b/makefile old mode 100644 new mode 100755 diff --git a/schema/dscanner-schema.json b/schema/dscanner-schema.json old mode 100644 new mode 100755 diff --git a/std/d/parser.d b/std/d/parser.d index 89566d5..e276424 100755 --- a/std/d/parser.d +++ b/std/d/parser.d @@ -5200,7 +5200,11 @@ q{(int a, ...) auto ident = expect(TokenType.identifier); if (ident is null) return null; node.identifier = *ident; - if ((node.templateArgumentList = parseTemplateArgumentList()) is null) return null; + if (currentIs(TokenType.comma)) + { + advance(); + if ((node.templateArgumentList = parseTemplateArgumentList()) is null) return null; + } if (expect(TokenType.rParen) is null) return null; return node; } diff --git a/std/d/runtester.sh b/std/d/runtester.sh index beb29fa..e2655d1 100755 --- a/std/d/runtester.sh +++ b/std/d/runtester.sh @@ -8,8 +8,5 @@ for file in /usr/include/d/std/*.d; do ./tester $file > $outFile done echo -echo "Good files:" -grep -l "Parsing finished with 0 errors" runs/*.txt | sed -e "s/runs\///" -e "s/.txt//" -echo -echo "Bad files:" -grep -L "Parsing finished with 0 errors" runs/*.txt | sed -e "s/runs\///" -e "s/.txt//" +grep -l "Parsing finished with 0 errors" runs/*.txt | sed -e "s/runs\//Pass /" -e "s/.txt//" +grep -L "Parsing finished with 0 errors" runs/*.txt | sed -e "s/runs\//Fail /" -e "s/.txt//" diff --git a/versions.d b/versions.d old mode 100644 new mode 100755