fix assignment operators for struct fields

This commit is contained in:
Andrew Kelley
2015-12-15 19:17:39 -07:00
parent 28c5a8f2ca
commit 5a8822c714
6 changed files with 135 additions and 66 deletions

View File

@@ -58,6 +58,8 @@ static const char *prefix_op_str(PrefixOp prefix_op) {
case PrefixOpNegation: return "-";
case PrefixOpBoolNot: return "!";
case PrefixOpBinNot: return "~";
case PrefixOpAddressOf: return "&";
case PrefixOpConstAddressOf: return "&const";
}
zig_unreachable();
}