mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-26 13:20:07 +03:00
Fixed another bug
This commit is contained in:
parent
8492a39b09
commit
0dce698fc3
16 changed files with 7 additions and 6 deletions
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.gitmodules
vendored
Normal file → Executable file
0
.gitmodules
vendored
Normal file → Executable file
0
LICENSE_1_0.txt
Normal file → Executable file
0
LICENSE_1_0.txt
Normal file → Executable file
0
autocomplete.d
Normal file → Executable file
0
autocomplete.d
Normal file → Executable file
0
createTable.sql
Normal file → Executable file
0
createTable.sql
Normal file → Executable file
0
ctags.d
Normal file → Executable file
0
ctags.d
Normal file → Executable file
0
dsc.sublime-project
Normal file → Executable file
0
dsc.sublime-project
Normal file → Executable file
0
editors/textadept/README.txt
Normal file → Executable file
0
editors/textadept/README.txt
Normal file → Executable file
0
editors/vim/README.md
Normal file → Executable file
0
editors/vim/README.md
Normal file → Executable file
0
editors/vim/autoload/dcomplete.vim
Normal file → Executable file
0
editors/vim/autoload/dcomplete.vim
Normal file → Executable file
0
editors/vim/ftplugin/d.vim
Normal file → Executable file
0
editors/vim/ftplugin/d.vim
Normal file → Executable file
0
makefile
Normal file → Executable file
0
makefile
Normal file → Executable file
0
schema/dscanner-schema.json
Normal file → Executable file
0
schema/dscanner-schema.json
Normal file → Executable 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;
|
||||
}
|
||||
|
|
|
@ -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
0
versions.d
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue