summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/gc/subr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c
index cf7b1865c..ac700b4c0 100644
--- a/src/cmd/gc/subr.c
+++ b/src/cmd/gc/subr.c
@@ -1123,6 +1123,9 @@ basicnames[] =
[TFLOAT] = "float",
[TFLOAT32] = "float32",
[TFLOAT64] = "float64",
+ [TCOMPLEX] = "complex",
+ [TCOMPLEX64] = "complex64",
+ [TCOMPLEX128] = "complex128",
[TBOOL] = "bool",
[TANY] = "any",
[TSTRING] = "string",