This commit is contained in:
Hackerpilot 2015-03-05 17:18:05 -08:00
parent 05c575f1e8
commit fbdb908832
3 changed files with 11 additions and 1 deletions

View file

@ -349,7 +349,11 @@ private:
write(" "); write(" ");
break; break;
} }
goto binary; else if (assumeSorted(astInformation.unaryLocations).equalRange(current.index).empty)
goto binary;
else
writeToken();
break;
case tok!"~": case tok!"~":
if (peekIs(tok!"this")) if (peekIs(tok!"this"))
{ {

2
tests/issue0030.d Normal file
View file

@ -0,0 +1,2 @@
unittest {
tolower( * p); }

4
tests/issue0030.d.ref Normal file
View file

@ -0,0 +1,4 @@
unittest
{
tolower(*p);
}