Fixed another bug

This commit is contained in:
Hackerpilot 2013-07-04 16:13:09 -07:00
parent 8492a39b09
commit 0dce698fc3
16 changed files with 7 additions and 6 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
.gitmodules vendored Normal file → Executable file
View File

0
LICENSE_1_0.txt Normal file → Executable file
View File

0
autocomplete.d Normal file → Executable file
View File

0
createTable.sql Normal file → Executable file
View File

0
ctags.d Normal file → Executable file
View File

0
dsc.sublime-project Normal file → Executable file
View File

0
editors/textadept/README.txt Normal file → Executable file
View File

0
editors/vim/README.md Normal file → Executable file
View File

0
editors/vim/autoload/dcomplete.vim Normal file → Executable file
View File

0
editors/vim/ftplugin/d.vim Normal file → Executable file
View File

0
makefile Normal file → Executable file
View File

0
schema/dscanner-schema.json Normal file → Executable file
View File

View File

@ -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;
}

View File

@ -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//"

0
versions.d Normal file → Executable file
View File