Commit 66905bd9 authored by Luuk van Dijk's avatar Luuk van Dijk

cc: fix -q and build break.

R=rsc
CC=golang-dev, golang-dev
https://golang.org/cl/3992047
parent efda876a
...@@ -209,11 +209,11 @@ printtypename(Type *t) ...@@ -209,11 +209,11 @@ printtypename(Type *t)
else if(t->tag) else if(t->tag)
n = t->tag->name; n = t->tag->name;
if(strcmp(n, "String") == 0){ if(strcmp(n, "String") == 0){
n = "string"; Bprint(&outbuf, "string");
} else if(strcmp(n, "Slice") == 0){ } else if(strcmp(n, "Slice") == 0){
n = "[]byte"; Bprint(&outbuf, "[]byte");
} } else
Bprint(&outbuf, n); Bprint(&outbuf, "%U", n);
break; break;
case TFUNC: case TFUNC:
Bprint(&outbuf, "func(", t); Bprint(&outbuf, "func(", t);
...@@ -330,7 +330,7 @@ godefvar(Sym *s) ...@@ -330,7 +330,7 @@ godefvar(Sym *s)
Type *t, *t1; Type *t, *t1;
char n; char n;
if(dontrun('q')) if(dontrun())
return; return;
t = s->type; t = s->type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment