Commit f12e5432 authored by Lucio De Re's avatar Lucio De Re Committed by Russ Cox

5l, 6l, 8l: add varargck for %Z

R=golang-dev
CC=golang-dev, rsc
https://golang.org/cl/4837044
parent c8c6e196
...@@ -324,6 +324,7 @@ EXTERN Prog* prog_modu; ...@@ -324,6 +324,7 @@ EXTERN Prog* prog_modu;
#pragma varargck type "N" Adr* #pragma varargck type "N" Adr*
#pragma varargck type "P" Prog* #pragma varargck type "P" Prog*
#pragma varargck type "S" char* #pragma varargck type "S" char*
#pragma varargck type "Z" char*
#pragma varargck type "i" char* #pragma varargck type "i" char*
int Aconv(Fmt*); int Aconv(Fmt*);
......
...@@ -410,6 +410,7 @@ uint32 machheadr(void); ...@@ -410,6 +410,7 @@ uint32 machheadr(void);
#pragma varargck type "D" Adr* #pragma varargck type "D" Adr*
#pragma varargck type "P" Prog* #pragma varargck type "P" Prog*
#pragma varargck type "R" int #pragma varargck type "R" int
#pragma varargck type "Z" char*
#pragma varargck type "A" int #pragma varargck type "A" int
#pragma varargck argpos diag 1 #pragma varargck argpos diag 1
......
...@@ -46,10 +46,6 @@ enum ...@@ -46,10 +46,6 @@ enum
#define P ((Prog*)0) #define P ((Prog*)0)
#define S ((Sym*)0) #define S ((Sym*)0)
#define TNAME (cursym?cursym->name:noname) #define TNAME (cursym?cursym->name:noname)
#define cput(c)\
{ *cbp++ = c;\
if(--cbc <= 0)\
cflush(); }
typedef struct Adr Adr; typedef struct Adr Adr;
typedef struct Prog Prog; typedef struct Prog Prog;
...@@ -254,6 +250,7 @@ enum ...@@ -254,6 +250,7 @@ enum
#pragma varargck type "R" int #pragma varargck type "R" int
#pragma varargck type "S" char* #pragma varargck type "S" char*
#pragma varargck type "Y" Sym* #pragma varargck type "Y" Sym*
#pragma varargck type "Z" char*
#pragma varargck type "i" char* #pragma varargck type "i" char*
EXTERN int32 HEADR; EXTERN int32 HEADR;
......
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