Commit 237e7c13 authored by Russ Cox's avatar Russ Cox

cmd/cc: restore correct meaning of %Q

g% 6c ~/x.c
/Users/rsc/x.c:1 duplicate types given: STRUCT s and VOID
/Users/rsc/x.c:1 no return at end of function: f
g%

Fixes #6083.

R=ken2
CC=golang-dev
https://golang.org/cl/12691043
parent 94179d61
......@@ -118,6 +118,7 @@ main(int argc, char *argv[])
{
int c;
quotefmtinstall(); // before cinit, which overrides %Q
ensuresymb(NSYMB);
memset(debug, 0, sizeof(debug));
tinit();
......@@ -126,7 +127,6 @@ main(int argc, char *argv[])
arginit();
fmtstrinit(&pragcgobuf);
quotefmtinstall();
tufield = simplet((1L<<tfield->etype) | BUNSIGNED);
ndef = 0;
......
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