Fix DPI export void compiler error, bug1391.

This commit is contained in:
Wilson Snyder
2019-01-16 00:38:42 -05:00
parent 3a51e84ebc
commit 60f2f176a2
9 changed files with 98 additions and 24 deletions
+2 -1
View File
@@ -1197,7 +1197,8 @@ void AstCFunc::dump(std::ostream& str) {
this->AstNode::dump(str);
if (slow()) str<<" [SLOW]";
if (pure()) str<<" [PURE]";
if (isStatic()) str<<" [STATIC]";
if (isStatic().unknown()) str<<" [STATICU]";
else if (isStatic().trueU()) str<<" [STATIC]";
if (dpiImport()) str<<" [DPII]";
if (dpiExport()) str<<" [DPIX]";
if (dpiExportWrapper()) str<<" [DPIXWR]";